[package]
edition = "2024"
rust-version = "1.88"
name = "tomlproc"
version = "0.1.2"
authors = ["Mark Karpeles <mark@shells.com>"]
build = false
exclude = ["tools"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A self-contained TOML 1.1.0 parser and serializer with no external dependencies"
readme = "README.md"
keywords = [
"toml",
"parser",
"config",
"serialization",
]
categories = [
"parser-implementations",
"config",
"encoding",
]
license = "MIT"
repository = "https://github.com/KarpelesLab/tomlproc"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alloc = ["serde?/alloc"]
default = ["std"]
serde = [
"dep:serde",
"alloc",
]
std = [
"alloc",
"serde?/std",
]
[lib]
name = "tomlproc"
path = "src/lib.rs"
[[test]]
name = "datetime"
path = "tests/datetime.rs"
[[test]]
name = "fuzz"
path = "tests/fuzz.rs"
[[test]]
name = "invalid"
path = "tests/invalid.rs"
[[test]]
name = "readme"
path = "tests/readme.rs"
[[test]]
name = "serde"
path = "tests/serde.rs"
[[test]]
name = "serialize"
path = "tests/serialize.rs"
[[test]]
name = "spans"
path = "tests/spans.rs"
[[test]]
name = "valid"
path = "tests/valid.rs"
[dependencies.serde]
version = "1.0"
optional = true
default-features = false
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]