Cargo.toml
49 lines · toml · 2 line annotations
# 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 = "2018"rust-version = "1.63"name = "allocator-api2"version = "0.2.21"authors = ["Zakarum <zaq.dev@icloud.com>"]build = falseautobins = falseautoexamples = falseautotests = falseautobenches = falsedescription = "Mirror of Rust's allocator API"homepage = "https://github.com/zakarumych/allocator-api2"documentation = "https://docs.rs/allocator-api2"readme = "README.md"license = "MIT OR Apache-2.0"repository = "https://github.com/zakarumych/allocator-api2"[lib]name = "allocator_api2"path = "src/lib.rs"[lib] proc-macro is absent; the crate is a plain library. build = false is set at line 18 and there is no build.rs file in the package. The crate therefore performs no build-time or install-time code execution on consumer machines, supporting has-build-exec and has-install-exec.
[dependencies.serde]version = "1.0"optional = true[features]alloc = []default = ["std"]fresh-rust = []nightly = []std = ["alloc"]Features: default = ["std"], std = ["alloc"], plus opt-in nightly and fresh-rust. The nightly feature switches the public re-exports from this crate's stable shims to core::alloc / alloc::{alloc,boxed,vec,collections} from libcore/liballoc directly (see src/lib.rs:13-20 and src/nightly.rs). The fresh-rust feature gates additions that require an MSRV above the declared 1.63 (e.g. From<&core::ffi::CStr> for Box<core::ffi::CStr>, which needs 1.64+).
[lints.rust.unexpected_cfgs]level = "warn"priority = 0check-cfg = ["cfg(no_global_oom_handling)"]