contained-core 0.2.5

The core crate for the contained project, providing essential abstractions and utilities.
Documentation
# 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 = "2024"
rust-version = "1.96.0"
name = "contained-core"
version = "0.2.5"
authors = ["FL03 <joe@pzzld.org> (https://github.com/FL03)"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The core crate for the contained project, providing essential abstractions and utilities."
homepage = "https://github.com/FL03/contained/wiki"
readme = "README.md"
keywords = [
    "macros",
    "transparent",
    "wrapper",
]
categories = []
license = "Apache-2.0"
repository = "https://github.com/FL03/contained.git"

[package.metadata.docs.rs]
all-features = false
features = ["default"]
rustc-args = [
    "--cfg",
    "docsrs",
]
version = "v{{version}}"

[package.metadata.release]
no-dev-version = true
tag-name = "{{version}}"

[features]
alloc = [
    "hashbrown?/alloc",
    "rand?/alloc",
    "rand_distr?/alloc",
    "serde?/alloc",
    "serde_json?/alloc",
]
complex = ["dep:num-complex"]
default = ["std"]
full = [
    "default",
    "complex",
    "hashbrown",
    "json",
    "rand",
    "serde",
]
hashbrown = ["dep:hashbrown"]
json = [
    "alloc",
    "serde",
    "serde_json",
]
macros = []
nightly = ["hashbrown?/nightly"]
rand = [
    "rng",
    "dep:rand",
    "dep:rand_distr",
    "num-complex?/rand",
]
rayon = [
    "dep:rayon",
    "hashbrown?/rayon",
]
rng = [
    "dep:getrandom",
    "getrandom?/sys_rng",
    "rand?/sys_rng",
]
serde = [
    "dep:serde",
    "dep:serde_derive",
    "serde?/derive",
    "hashbrown?/serde",
    "num-complex?/serde",
    "rand?/serde",
    "rand_distr?/serde",
]
serde_json = ["dep:serde_json"]
std = [
    "alloc",
    "getrandom?/std",
    "hashbrown?/default",
    "num-complex?/std",
    "num-traits/std",
    "rand?/default",
    "rand_distr?/std",
    "serde?/std",
    "serde_json?/std",
    "thiserror/std",
]
wasi = ["alloc"]
wasm = [
    "alloc",
    "wasm_bindgen",
    "getrandom?/wasm_js",
    "rayon?/web_spin_lock",
]
wasm_bindgen = ["dep:wasm-bindgen"]

[lib]
name = "contained_core"
path = "src/lib.rs"
bench = false

[[test]]
name = "default"
path = "tests/default.rs"

[dependencies.getrandom]
version = "0.4"
optional = true
default-features = false

[dependencies.hashbrown]
version = "0.17"
optional = true
default-features = false

[dependencies.num-complex]
version = "0.4"
optional = true
default-features = false

[dependencies.num-traits]
version = "0.2"
default-features = false

[dependencies.rand]
version = "0.10"
optional = true
default-features = false

[dependencies.rand_distr]
version = "0.6"
optional = true
default-features = false

[dependencies.rayon]
version = "1"
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = [
    "derive",
    "derive",
]
optional = true
default-features = false

[dependencies.serde_derive]
version = "1"
optional = true
default-features = false

[dependencies.serde_json]
version = "1"
optional = true
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.wasm-bindgen]
version = "0.2"
optional = true
default-features = false