# 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.89.0"
name = "facet-core"
version = "0.32.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types and traits for the facet ecosystem"
readme = "README.md"
keywords = [
    "reflection",
    "core",
]
categories = ["development-tools"]
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",
]

[features]
alloc = []
auto-traits = []
bytes = [
    "alloc",
    "dep:bytes",
]
camino = [
    "dep:camino",
    "alloc",
]
chrono = [
    "alloc",
    "dep:chrono",
]
ci = []
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 = []
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"

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

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

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

[dependencies.bitflags]
version = "2.9.1"

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

[dependencies.camino]
version = "1"
optional = true

[dependencies.chrono]
version = "0.4"
features = [
    "alloc",
    "clock",
]
optional = true
default-features = false

[dependencies.impls]
version = "1"

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

[dependencies.jiff]
version = "0.2.15"
optional = true

[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.time]
version = "0.3.41"
features = [
    "parsing",
    "formatting",
]
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.17.0"
optional = true

[dev-dependencies]

[build-dependencies.autocfg]
version = "1.3"
