[workspace]
members = [
"bitcode_derive",
]
[package]
name = "bitcode"
authors = [ "Cai Bear", "Finn Bear" ]
version = "0.6.3"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/SoftbearStudios/bitcode"
description = "bitcode is a bitwise binary serializer"
exclude = ["fuzz/"]
[dependencies]
arrayvec = { version = "0.7", default-features = false, optional = true }
bitcode_derive = { version = "0.6.3", path = "./bitcode_derive", optional = true }
bytemuck = { version = "1.14", features = [ "min_const_generics", "must_cast" ] }
glam = { version = ">=0.21", default-features = false, optional = true }
serde = { version = "1.0", default-features = false, features = [ "alloc" ], optional = true }
[dev-dependencies]
arrayvec = { version = "0.7", features = [ "serde" ] }
bincode = "1.3.3"
flate2 = "1.0.28"
glam = { version = "0.22", default-features = false, features = [ "rand" ] }
lz4_flex = { version = "0.11.2", default-features = false }
paste = "1.0.14"
rand = "0.8.5"
rand_chacha = "0.3.1"
serde = { version = "1.0", features = [ "derive" ] }
[target.'cfg(not(miri))'.dev-dependencies]
zstd = "0.13.0"
[features]
derive = [ "dep:bitcode_derive" ]
std = [ "serde?/std", "glam?/std", "arrayvec?/std" ]
default = [ "derive", "std" ]
[package.metadata.docs.rs]
features = [ "derive", "serde", "std" ]