1[package]
2authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
3categories = ["memory-management", "rust-patterns", "no-std"]
4description = "A fast bump allocation arena for Rust."
5documentation = "https://docs.rs/bumpalo"
6edition = "2021"
7license = "MIT OR Apache-2.0"
8name = "bumpalo"
9readme = "README.md"
10repository = "https://github.com/fitzgen/bumpalo"
11version = "3.14.0"
12exclude = ["/.github/*", "/benches", "/tests", "valgrind.supp", "bumpalo.png"]
13rust-version = "1.60.0"
14
15[package.metadata.docs.rs]
16all-features = true
17
18[lib]
19path = "src/lib.rs"
20bench = false
21
22[[bench]]
23name = "benches"
24path = "benches/benches.rs"
25harness = false
26required-features = ["collections"]
27
28[[test]]
29name = "try_alloc"
30path = "tests/try_alloc.rs"
31harness = false
32
33[dependencies]
34# This dependency provides a version of the unstable nightly Rust `Allocator`
35# trait on stable Rust. Enabling this feature means that `bumpalo` will
36# implement its `Allocator` trait.
37allocator-api2 = { version = "0.2.8", default-features = false, optional = true }
38
39[dev-dependencies]
40quickcheck = "1.0.3"
41criterion = "0.3.6"
42rand = "0.8.5"
43
44[features]
45default = []
46collections = []
47boxed = []
48allocator_api = []
49std = []
50
51# [profile.bench]
52# debug = true
53