cuprate-hinto-janai/net/fixed-bytes/Cargo.toml
hinto-janai 824651c8cf
fixed-bytes: add serde, document feature flags (#226)
* fixed-bytes: add `serde`, document feature flags

* manual impl `serde::Deserialize`

* add serde tests
2024-07-11 02:00:47 +01:00

19 lines
No EOL
462 B
TOML

[package]
name = "cuprate-fixed-bytes"
version = "0.1.0"
edition = "2021"
license = "MIT"
authors = ["Boog900"]
[features]
default = ["std", "serde"]
std = ["bytes/std", "dep:thiserror"]
serde = ["bytes/serde", "dep:serde"]
[dependencies]
thiserror = { workspace = true, optional = true }
bytes = { workspace = true }
serde = { workspace = true, features = ["derive"], optional = true }
[dev-dependencies]
serde_json = { workspace = true, features = ["std"] }