1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14name = "buddy_system_allocator"
15version = "0.11.0"
16authors = [
17    "Jiajie Chen <[email protected]>",
18    "Vinay Chandra Dommeti <[email protected]>",
19    "Andrew Walbran <[email protected]>",
20]
21description = "A bare metal allocator that uses buddy system."
22homepage = "https://github.com/rcore-os/buddy_system_allocator"
23documentation = "https://docs.rs/buddy_system_allocator"
24readme = "README.md"
25keywords = [
26    "allocator",
27    "no_std",
28    "heap",
29]
30license = "MIT"
31repository = "https://github.com/rcore-os/buddy_system_allocator"
32
33[[bench]]
34name = "memory_allocator_benchmark"
35harness = false
36
37[dependencies.spin]
38version = "0.9.8"
39optional = true
40
41[dev-dependencies.criterion]
42version = "0.5.1"
43
44[dev-dependencies.ctor]
45version = "0.2.6"
46
47[dev-dependencies.rand]
48version = "0.8.5"
49
50[dev-dependencies.rand_chacha]
51version = "0.3.1"
52
53[features]
54alloc = []
55default = [
56    "alloc",
57    "use_spin",
58]
59use_spin = ["spin"]
60