# 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.80" name = "flex-alloc" version = "0.0.5" authors = ["Andrew Whitehead "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Data structures with extra flexible storage" readme = "README.md" keywords = [ "vec", "zeroize", ] categories = [ "data-structures", "memory-management", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/andrewwhitehead/flex-alloc/" [lib] name = "flex_alloc" path = "src/lib.rs" [[test]] name = "boxed" path = "tests/boxed.rs" [[test]] name = "vec" path = "tests/vec.rs" [[test]] name = "zeroize" path = "tests/zeroize.rs" [[bench]] name = "compare_vec" path = "benches/compare_vec.rs" harness = false required-features = ["alloc"] [dependencies.allocator-api2] version = "0.2" optional = true default-features = false [dependencies.const-default] version = "1" [dependencies.zeroize] version = "1" optional = true default-features = false [dev-dependencies.criterion] version = "0.5" features = [ "cargo_bench_support", "html_reports", ] default-features = false [dev-dependencies.rstest] version = "0.23" [features] alloc = [ "allocator-api2?/alloc", "zeroize?/alloc", ] allocator-api2 = ["dep:allocator-api2"] default = [ "alloc", "zeroize", ] nightly = ["allocator-api2/nightly"] std = [ "alloc", "allocator-api2?/std", "zeroize?/std", ] zeroize = ["dep:zeroize"]