# 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.74" name = "alloc-madvise" version = "0.5.0" authors = ["Markus Mayer "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A memory allocator for creating large aligned chunks of memory" homepage = "https://github.com/sunsided/rust-aligned-allocations" readme = "README.md" keywords = [ "malloc", "madvise", "memory", ] categories = ["memory-management"] license = "EUPL-1.2" repository = "https://github.com/sunsided/rust-aligned-allocations" [profile.release] lto = "fat" codegen-units = 1 strip = "symbols" [lib] name = "alloc_madvise" crate-type = [ "cdylib", "rlib", "staticlib", ] path = "src/lib.rs" [dependencies.libc] version = "0.2.167" [build-dependencies.cbindgen] version = "0.27.0" optional = true [features] default = ["ffi"] ffi = ["dep:cbindgen"]