byte_lamination/Cargo.toml

25 lines
775 B
TOML

[package]
name = "byte_lamination"
version = "0.1.2"
edition = "2021"
authors = ["Olivier 'reivilibre'"]
repository = "https://git.emunest.net/reivilibre/byte_lamination.git"
license = "MIT OR Apache-2.0"
description = "Type-readable byte transformation wrappers, with CBOR and BARE serialisation and Zstd compression."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
zstd = { version = "0.12.3", optional = true }
serde = { version = "1.0.162", optional = true }
serde_cbor = { version = "0.11.2", optional = true }
serde_bare = { version = "0.5.0", optional = true }
[features]
# zstd: implicit by optional dep
cbor = ["serde_cbor", "serde"]
bare = ["serde_bare", "serde"]
all = ["zstd", "cbor", "bare"]