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