# 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 = "stabby" version = "36.1.1" authors = ["Pierre Avital "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A Stable ABI for Rust with compact sum-types." readme = "README.md" categories = [ "development-tools::ffi", "no-std::no-alloc", ] license = " EPL-2.0 OR Apache-2.0" repository = "https://github.com/ZettaScaleLabs/stabby" [package.metadata.docs.rs] all-features = true rustc-args = [ "--cfg", "docsrs", ] [lib] name = "stabby" path = "src/lib.rs" [[bench]] name = "allocators" path = "benches/allocators.rs" harness = false required-features = ["libc"] [[bench]] name = "boxed_slices" path = "benches/boxed_slices.rs" harness = false [[bench]] name = "dynptr" path = "benches/dynptr.rs" harness = false [[bench]] name = "enums" path = "benches/enums.rs" harness = false [dependencies.libloading] version = ">=0.7.3, <0.9" optional = true [dependencies.rustversion] version = "<2" [dependencies.stabby-abi] version = "36.1.1" default-features = false [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.rand] version = "0.8" [dev-dependencies.smol] version = ">=1, <3" [dev-dependencies.stabby-abi] version = "36.1.1" features = ["test"] default-features = false [features] alloc-rs = ["stabby-abi/alloc-rs"] default = ["std"] experimental-ctypes = ["stabby-abi/experimental-ctypes"] libc = ["stabby-abi/libc"] libloading = [ "dep:libloading", "std", ] serde = ["stabby-abi/serde"] std = [ "stabby-abi/std", "alloc-rs", ]