Release 0.5.0-alpha.5
pallas@0.5.0-alpha.5 pallas-crypto@0.5.0-alpha.5 pallas-miniprotocols@0.5.0-alpha.5 pallas-multiplexer@0.5.0-alpha.5 pallas-primitives@0.5.0-alpha.5 Generated by cargo-workspaces
This commit is contained in:
parent
bb16c3cc85
commit
f09047482e
6 changed files with 14 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "pallas-crypto"
|
||||
description = "Cryptographic primitives for Cardano"
|
||||
version = "0.5.0-alpha.4"
|
||||
version = "0.5.0-alpha.5"
|
||||
edition = "2021"
|
||||
repository = "https://github.com/txpipe/pallas"
|
||||
homepage = "https://github.com/txpipe/pallas"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "pallas-miniprotocols"
|
||||
description = "Implementation of the Ouroboros network mini-protocols state-machines"
|
||||
version = "0.5.0-alpha.4"
|
||||
version = "0.5.0-alpha.5"
|
||||
edition = "2021"
|
||||
repository = "https://github.com/txpipe/pallas"
|
||||
homepage = "https://github.com/txpipe/pallas"
|
||||
|
|
|
|||
|
|
@ -13,6 +13,15 @@ pub enum Point {
|
|||
Specific(u64, Vec<u8>),
|
||||
}
|
||||
|
||||
impl Point {
|
||||
pub fn slot_or_default(&self) -> u64 {
|
||||
match self {
|
||||
Point::Origin => 0,
|
||||
Point::Specific(slot, _) => *slot,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Debug for Point {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
match self {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "pallas-multiplexer"
|
||||
description = "Multithreaded Ouroboros multiplexer implementation using mpsc channels"
|
||||
version = "0.5.0-alpha.4"
|
||||
version = "0.5.0-alpha.5"
|
||||
edition = "2021"
|
||||
repository = "https://github.com/txpipe/pallas"
|
||||
homepage = "https://github.com/txpipe/pallas"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "pallas-primitives"
|
||||
description = "Ledger primitives and cbor codec for the different Cardano eras"
|
||||
version = "0.5.0-alpha.4"
|
||||
version = "0.5.0-alpha.5"
|
||||
edition = "2021"
|
||||
repository = "https://github.com/txpipe/pallas"
|
||||
homepage = "https://github.com/txpipe/pallas"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "pallas"
|
||||
description = "Rust-native building blocks for the Cardano blockchain ecosystem."
|
||||
version = "0.5.0-alpha.4"
|
||||
version = "0.5.0-alpha.5"
|
||||
edition = "2021"
|
||||
repository = "https://github.com/txpipe/pallas"
|
||||
homepage = "https://github.com/txpipe/pallas"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue