mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-01-21 18:24:31 +00:00
824651c8cf
* fixed-bytes: add `serde`, document feature flags * manual impl `serde::Deserialize` * add serde tests
19 lines
No EOL
462 B
TOML
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"] } |