# 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" name = "ferroc" version = "1.0.0-pre.3" authors = ["Js2xxx "] build = "build.rs" exclude = ["assets"] autobins = false autoexamples = false autotests = false autobenches = false description = "A fast & lock-free memory allocator library" homepage = "https://github.com/Js2xxx/ferroc" documentation = "https://docs.rs/ferroc" readme = "README.md" keywords = [ "allocator", "no_std", "memory", "heap", "lock-free", ] categories = [ "memory-management", "no-std", "concurrency", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Js2xxx/ferroc" [profile.release] lto = true codegen-units = 1 panic = "abort" [lib] name = "ferroc" path = "src/lib.rs" [[example]] name = "random2" path = "examples/random2.rs" [[example]] name = "stress" path = "examples/stress.rs" [[example]] name = "exchange" path = "examples/exchange.rs" [[example]] name = "custom" path = "examples/custom.rs" [[example]] name = "random" path = "examples/random.rs" [dependencies.array-macro] version = "2.1" [dependencies.crabgrind] version = "=0.1.9" optional = true [dependencies.libc] version = "0.2" optional = true [dependencies.log] version = "0.4" optional = true [dependencies.memmap2] version = "0.9" optional = true [dev-dependencies.ctor] version = "0.2" [dev-dependencies.fastrand] version = "2.0" [build-dependencies.cbindgen] version = "0.26" optional = true [features] base-mmap = [ "dep:memmap2", "dep:libc", ] base-static = [] c = [ "default", "dep:cbindgen", ] c-override = ["c"] default = [ "global", "base-mmap", "base-static", "libc", ] error-log = ["dep:log"] finer-grained = [] global = [] libc = ["dep:libc"] track-valgrind = ["dep:crabgrind"]