# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.71" name = "deku" version = "0.18.1" authors = ["sharks "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "bit level serialization/deserialization proc-macro for structs" readme = "README.md" keywords = [ "deku", "bits", "serialization", "deserialization", "struct", ] categories = [ "encoding", "parsing", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/sharksforarms/deku" [lib] name = "deku" path = "src/lib.rs" bench = false [[example]] name = "custom_reader_and_writer" path = "examples/custom_reader_and_writer.rs" required-features = ["bits"] [[example]] name = "deku_input" path = "examples/deku_input.rs" [[example]] name = "enums" path = "examples/enums.rs" [[example]] name = "enums_catch_all" path = "examples/enums_catch_all.rs" required-features = ["bits"] [[example]] name = "example" path = "examples/example.rs" required-features = ["bits"] [[example]] name = "ipv4" path = "examples/ipv4.rs" required-features = ["bits"] [[example]] name = "many" path = "examples/many.rs" [[example]] name = "read_all" path = "examples/read_all.rs" [[test]] name = "mod" path = "tests/mod.rs" [[test]] name = "test_alloc" path = "tests/test_alloc.rs" [[test]] name = "test_bit_container_size" path = "tests/test_bit_container_size.rs" [[test]] name = "test_box" path = "tests/test_box.rs" [[test]] name = "test_catch_all" path = "tests/test_catch_all.rs" [[test]] name = "test_deku_id" path = "tests/test_deku_id.rs" [[test]] name = "test_enum" path = "tests/test_enum.rs" [[test]] name = "test_from_bytes" path = "tests/test_from_bytes.rs" [[test]] name = "test_from_reader" path = "tests/test_from_reader.rs" [[test]] name = "test_generic" path = "tests/test_generic.rs" [[test]] name = "test_magic" path = "tests/test_magic.rs" [[test]] name = "test_own_impl" path = "tests/test_own_impl.rs" [[test]] name = "test_regression" path = "tests/test_regression.rs" [[test]] name = "test_seek" path = "tests/test_seek.rs" [[test]] name = "test_struct" path = "tests/test_struct.rs" [[test]] name = "test_to_bits" path = "tests/test_to_bits.rs" [[test]] name = "test_to_slice" path = "tests/test_to_slice.rs" [[test]] name = "test_tuple" path = "tests/test_tuple.rs" [[bench]] name = "deku" path = "benches/deku.rs" harness = false [dependencies.bitvec] version = "1.0.1" optional = true default-features = false [dependencies.deku_derive] version = "^0.18.1" default-features = false [dependencies.log] version = "0.4.22" optional = true [dependencies.no_std_io] version = "0.8.0" features = ["alloc"] default-features = false package = "no_std_io2" [dependencies.rustversion] version = "1.0.17" [dev-dependencies.alloc_counter] version = "0.0.4" [dev-dependencies.assert_hex] version = "0.4.1" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.env_logger] version = "0.11.5" [dev-dependencies.hexlit] version = "0.5.5" [dev-dependencies.rstest] version = "0.22.0" [dev-dependencies.rustc-hash] version = "2.0.0" [dev-dependencies.trybuild] version = "1.0.99" [features] alloc = ["bitvec?/alloc"] bits = [ "dep:bitvec", "deku_derive/bits", ] default = [ "std", "bits", ] error_in_core = [] logging = [ "deku_derive/logging", "log", ] no-assert-string = ["deku_derive/no-assert-string"] std = [ "deku_derive/std", "bitvec?/std", "alloc", "no_std_io/std", ] [lints.clippy] manual-unwrap-or-default = "allow"