# 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"
name = "tomllm"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TOML + LLM comment conventions: tribal knowledge in #comments, stripped for data pipelines"
readme = "README.md"
keywords = [
    "toml",
    "llm",
    "agent",
    "config",
    "annotations",
]
categories = [
    "parsing",
    "config",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/PromptExecution/tomllm"

[features]
default = []
python = ["pyo3/extension-module"]
wasm = [
    "wasm-bindgen",
    "serde-wasm-bindgen",
]

[lib]
name = "tomllm"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.pyo3]
version = "0.27"
features = ["extension-module"]
optional = true

[dependencies.regex]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.9"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dev-dependencies.tempfile]
version = "3"
