mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-11-16 15:58:14 +00:00
0910c0a231
Some checks failed
Deny / audit (push) Has been cancelled
Audit / audit (push) Has been cancelled
Doc / build (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / typo (push) Has been cancelled
CI / ci (macos-latest, stable, bash) (push) Has been cancelled
CI / ci (ubuntu-latest, stable, bash) (push) Has been cancelled
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Has been cancelled
Doc / deploy (push) Has been cancelled
* fixed-bytes: add `serde`, document feature flags * fixed-bytes: add derives * rpc: add `as _` syntax to macro * rpc: use `ByteArrayVec` and `ContainerAsBlob` for binary types * fixed-bytes: re-add derives * rpc-types: dedup default value within macro * readme: fixed bytes section
19 lines
463 B
TOML
19 lines
463 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"] }
|