[package] name = "u4" version = "0.1.2" edition = "2021" description = "nibble (4-bit integer) library, with packed representations" license = "MIT OR Apache-2.0" documentation = "https://docs.rs/u4" repository = "https://github.com/aatifsyed/u4" homepage = "https://crates.io/crates/u4" [features] std = ["serde?/std", "const-default?/std"] alloc = ["serde?/alloc", "const-default?/alloc"] default = ["std", "alloc"] quickcheck = ["dep:quickcheck", "dep:derive-quickcheck-arbitrary"] zerocopy = ["dep:zerocopy"] serde = ["dep:serde"] const-default = ["dep:const-default"] [dependencies] const-default = { version = "1.0.0", optional = true } derive-quickcheck-arbitrary = { version = "0.1.3", optional = true } quickcheck = { version = "1.0.3", optional = true, default-features = false } serde = { version = "1.0.203", features = [ "derive", ], optional = true, default-features = false } zerocopy = { version = "0.7.34", optional = true, default-features = false, features = [ "derive", ] } [dev-dependencies] itertools = "0.13.0" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "do_doc_cfg"] [lints.rust] unexpected_cfgs = { check-cfg = ["cfg(do_doc_cfg)"], level = "warn" }