toml-spanner 1.0.0

High Performance Toml parser and deserializer that preserves span information with fast compile times.
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 = "toml-spanner"
version = "1.0.0"
authors = [
    "Thomas Dagenais <exrok@i64.dev>",
    "Embark <opensource@embark-studios.com>",
]
build = false
exclude = [
    "devsm.toml",
    "typos.toml",
    "tests/derive.rs",
    "tests/derive_tyle.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High Performance Toml parser and deserializer that preserves span information with fast compile times."
homepage = "https://github.com/exrok/toml-spanner"
documentation = "https://docs.rs/toml-spanner"
readme = "README.md"
categories = [
    "parser-implementations",
    "config",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/exrok/toml-spanner"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["from-toml"]
derive = ["dep:toml-spanner-macros"]
from-toml = []
serde = ["dep:serde"]
to-toml = [
    "from-toml",
    "dep:zmij",
]

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

[[example]]
name = "simple"
path = "examples/simple.rs"

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

[dependencies.foldhash]
version = "0.2.0"

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.toml-spanner-macros]
version = "1"
optional = true

[dependencies.zmij]
version = "1.0.1"
optional = true

[dev-dependencies.anstream]
version = "0.6"

[dev-dependencies.anstyle-svg]
version = "1.1.0"

[dev-dependencies.oorandom]
version = "11"

[dev-dependencies.toml-spanner-macros]
version = "1"

[lints.clippy]
collapsible_if = "allow"
explicit_counter_loop = "allow"
manual_find = "allow"
manual_range_contains = "allow"
manual_slice_size_calculation = "allow"
needless_range_loop = "allow"
question_mark = "allow"

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

[profile.dev-fast]
opt-level = 3
debug-assertions = true
inherits = "dev"