[build-dependencies.autocfg]
version = "^1.5.0"
[dependencies.bytes]
default-features = false
optional = true
version = "^1.11.0"
[dependencies.bytestring]
default-features = false
optional = true
version = "^1.4.0"
[dependencies.camino]
optional = true
version = "^1.2.1"
[dependencies.chrono]
default-features = false
features = ["alloc"]
optional = true
version = "^0.4.42"
[dependencies.compact_str]
default-features = false
optional = true
version = "^0.8.1"
[dependencies.impls]
version = "1"
[dependencies.indexmap]
default-features = false
optional = true
version = "^2.12.1"
[dependencies.jiff]
optional = true
version = "^0.2.16"
[dependencies.num-complex]
default-features = false
optional = true
version = "0.4.6"
[dependencies.ordered-float]
default-features = false
optional = true
version = "5.0.0"
[dependencies.ruint]
default-features = false
optional = true
version = "1.17.0"
[dependencies.smartstring]
default-features = false
optional = true
version = "^1.0.1"
[dependencies.time]
features = ["formatting", "macros", "parsing", "macros"]
optional = true
version = "^0.3.44"
[dependencies.ulid]
optional = true
version = "^1.2.1"
[dependencies.url]
default-features = false
optional = true
version = "2.5.4"
[dependencies.uuid]
optional = true
version = "^1.19.0"
[dev-dependencies]
[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 = []
indexmap = ["alloc", "dep:indexmap"]
jiff02 = ["alloc", "dep:jiff"]
net = []
nonzero = []
num-complex = ["dep:num-complex"]
ordered-float = ["dep:ordered-float"]
ruint = ["alloc", "dep:ruint", "ruint?/alloc"]
simd = []
smartstring = ["alloc", "dep:smartstring"]
std = ["alloc"]
time = ["alloc", "dep:time"]
tuples-12 = []
ulid = ["alloc", "dep:ulid"]
url = ["alloc", "dep:url"]
uuid = ["alloc", "dep:uuid"]
[lib]
name = "facet_core"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["development-tools", "rust-patterns"]
description = "Core reflection traits and types for the facet ecosystem - provides the Facet trait, Shape metadata, and type-erased pointers"
edition = "2024"
homepage = "https://facet.rs"
keywords = ["reflection", "introspection", "metadata", "facet", "shape"]
license = "MIT OR Apache-2.0"
name = "facet-core"
readme = "README.md"
repository = "https://github.com/facet-rs/facet"
rust-version = "1.89"
version = "0.35.0"
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "arborium-header.html"]
[package.metadata."docs.rs"]
rustdoc-args = ["--html-in-header", "arborium-header.html"]
[[test]]
name = "pointer"
path = "tests/pointer.rs"
[[test]]
name = "simd"
path = "tests/simd.rs"
[[test]]
name = "vtable"
path = "tests/vtable.rs"