# 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.88"
name = "pkgsrc-kv"
version = "0.2.0"
authors = ["Jonathan Perkin <jonathan@perkin.org.uk>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe KEY=VALUE parsing with a derive macro"
readme = false
license = "ISC"
repository = "https://github.com/jperkin/pkgsrc-rs"

[features]
default = ["derive"]
derive = ["dep:pkgsrc-kv-derive"]
serde = ["dep:serde"]

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

[dependencies.pkgsrc-kv-derive]
version = "0.4.0"
optional = true

[dependencies.serde]
version = "1.0.219"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0.16"
