The `impl_bytelike_traits` macro is public and it is used in the `hash_newtype` macro, also public. Currently if a user calls the `hash_newtype` macro in a crate that depends on `hashes` without the `serde` feature enabled and with no `serde` dependency everything works. However if the user then adds a dependency that happens to enable the `serde` feature in `hashes` their build will blow up because `serde` code will start getting called from the original crate's call to `hash_newtype`. Pull the serde stuff out of `hash_newtype` and provide a macro to implement it `impl_serde_for_newtype`. |
||
---|---|---|
.. | ||
contrib | ||
src | ||
CHANGELOG.md | ||
Cargo.toml | ||
README.md |
README.md
Rust Bitcoin - primitive types.
This crate provides primitive data types that are used throughout the
rust-bitcoin
ecosystem.
Semver compliance
Functions marked as unstable (e.g. foo__unstable
) are not guaranteed to uphold semver compliance.
They are primarily provided to support rust-bitcoin
.
Minimum Supported Rust Version (MSRV)
This library should always compile with any combination of features on Rust 1.63.0.
Licensing
The code in this project is licensed under the Creative Commons CC0 1.0 Universal license. We use the SPDX license list and SPDX IDs.