facet-core 0.43.2

Core reflection traits and types for the facet ecosystem - provides the Facet trait, Shape metadata, and type-erased pointers
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.90"
name = "facet-core"
version = "0.43.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core reflection traits and types for the facet ecosystem - provides the Facet trait, Shape metadata, and type-erased pointers"
homepage = "https://facet.rs"
readme = "README.md"
keywords = [
    "reflection",
    "introspection",
    "metadata",
    "facet",
    "shape",
]
categories = [
    "development-tools",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/facet-rs/facet"

[package.metadata.docs.rs]
rustdoc-args = [
    "--html-in-header",
    "arborium-header.html",
]

[package.metadata."docs.rs"]
rustdoc-args = [
    "--html-in-header",
    "arborium-header.html",
]

[features]
alloc = []
auto-traits = []
bytes = [
    "alloc",
    "dep:bytes",
]
bytestring = [
    "alloc",
    "dep:bytestring",
]
camino = [
    "dep:camino",
    "alloc",
]
chrono = [
    "alloc",
    "dep:chrono",
    "chrono/clock",
]
compact_str = [
    "alloc",
    "dep:compact_str",
]
default = ["std"]
fn-ptr = []
iddqd = [
    "alloc",
    "dep:iddqd",
]
indexmap = [
    "alloc",
    "dep:indexmap",
]
jiff02 = [
    "alloc",
    "dep:jiff",
]
lock_api = [
    "alloc",
    "dep:lock_api",
]
net = []
nonzero = []
num-complex = ["dep:num-complex"]
ordered-float = ["dep:ordered-float"]
ruint = [
    "alloc",
    "dep:ruint",
    "ruint?/alloc",
]
rust_decimal = [
    "alloc",
    "dep:rust_decimal",
]
simd = []
smallvec = [
    "alloc",
    "dep:smallvec",
]
smartstring = [
    "alloc",
    "dep:smartstring",
]
smol_str = [
    "alloc",
    "dep:smol_str",
]
std = [
    "alloc",
    "iddqd?/std",
]
tendril = [
    "alloc",
    "dep:tendril",
]
time = [
    "alloc",
    "dep:time",
]
tuples-12 = []
ulid = [
    "alloc",
    "dep:ulid",
]
url = [
    "alloc",
    "dep:url",
]
uuid = [
    "alloc",
    "dep:uuid",
]
yoke = [
    "alloc",
    "dep:yoke",
    "dep:stable_deref_trait",
]

[lib]
name = "facet_core"
path = "src/lib.rs"

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

[dependencies.bytes]
version = "^1.11.0"
optional = true
default-features = false

[dependencies.bytestring]
version = "^1.4.0"
optional = true
default-features = false

[dependencies.camino]
version = "^1.2.1"
optional = true

[dependencies.chrono]
version = "^0.4.42"
features = ["alloc"]
optional = true
default-features = false

[dependencies.compact_str]
version = "^0.9.0"
optional = true
default-features = false

[dependencies.const-fnv1a-hash]
version = "1"

[dependencies.iddqd]
version = "^0.3"
optional = true
default-features = false

[dependencies.impls]
version = "1"

[dependencies.indexmap]
version = "^2.12.1"
optional = true
default-features = false

[dependencies.jiff]
version = "^0.2.16"
optional = true

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

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

[dependencies.ordered-float]
version = "5.0.0"
optional = true
default-features = false

[dependencies.ruint]
version = "1.17.0"
optional = true
default-features = false

[dependencies.rust_decimal]
version = "^1.38.0"
features = ["std"]
optional = true
default-features = false

[dependencies.smallvec]
version = "^1.15"
optional = true
default-features = false

[dependencies.smartstring]
version = "^1.0.1"
optional = true
default-features = false

[dependencies.smol_str]
version = "^0.3.4"
optional = true
default-features = false

[dependencies.stable_deref_trait]
version = "1.2.1"
optional = true

[dependencies.tendril]
version = "0.5.0"
optional = true

[dependencies.time]
version = "^0.3.44"
features = [
    "formatting",
    "macros",
    "parsing",
    "macros",
]
optional = true

[dependencies.ulid]
version = "^1.2.1"
optional = true

[dependencies.url]
version = "2.5.4"
optional = true
default-features = false

[dependencies.uuid]
version = "^1.19.0"
optional = true

[dependencies.yoke]
version = "0.8.1"
optional = true

[dev-dependencies.parking_lot]
version = "0.12"

[build-dependencies.autocfg]
version = "^1.5.0"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(facet_no_doc)"]