stabby 72.1.2

A Stable ABI for Rust with compact sum-types.
# 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 = "72.1.2"
authors = ["Pierre Avital <pierre.avital@gmail.com>"]
build = "build.rs"
autolib = false
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",
]

[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",
]

[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.10"
optional = true

[dependencies.rustversion]
version = "<2"

[dependencies.stabby-abi]
version = "72.1.2"
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 = "72.1.2"
features = ["test"]
default-features = false

[lints.clippy]
manual_is_multiple_of = "allow"
needless_lifetimes = "allow"
unnecessary_map_or = "allow"