Docs.rs
stacks-common-0.0.2
stacks-common 0.0.2
Docs.rs crate page
GPL-3.0-only
Links
Homepage
Repository
crates.io
Source
Owners
lgalabru
hugocaillard
Dependencies
chrono ^0.4.19
normal
curve25519-dalek =2.0.0
normal
ed25519-dalek =1.0.0-pre.3
normal
lazy_static ^1.4.0
normal
libc ^0.2.82
normal
libsecp256k1 ^0.5.0
normal
percent-encoding ^2.1.0
normal
rand ^0.7.3
normal
ripemd ^0.1.1
normal
rusqlite =0.27.0
normal
secp256k1 ^0.24.3
normal
serde ^1
normal
serde_derive ^1
normal
serde_json ^1.0
normal
sha2 ^0.10
normal
sha3 ^0.10.1
normal
slog ^2.5.2
normal
slog-json ^2.3.0
normal
slog-term ^2.6.0
normal
time ^0.2.23
normal
assert-json-diff ^1.0.0
dev
rstest ^0.11.0
dev
rstest_reuse ^0.1.3
dev
Versions
79.54%
of the crate is documented
Go to latest version
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Module codec
Modules
Enums
Constants
Traits
Functions
?
Module
stacks_common
::
codec
source
·
[
−
]
Modules
macros
Enums
Error
Constants
BURNCHAIN_HEADER_HASH_ENCODED_SIZE
MAX_MESSAGE_LEN
MAX_PAYLOAD_LEN
MAX_RELAYERS_LEN
NEIGHBOR_ADDRESS_ENCODED_SIZE
PEER_ADDRESS_ENCODED_SIZE
PREAMBLE_ENCODED_SIZE
P2P preamble length (addands correspond to fields above)
RELAY_DATA_ENCODED_SIZE
Traits
StacksMessageCodec
Helper trait for various primitive types that make up Stacks messages
Functions
read_next
read_next_at_most
read_next_exact
write_next