spec-driven-docs 0.4.7

Spec-driven documentation: current specs, immutable decision records, and executable gates kept coherent for people and coding agents.
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.85"
name = "spec-driven-docs"
version = "0.4.7"
build = "build.rs"
exclude = [
    "/comparison-docs",
    "/reference",
    "/examples",
    "/_docs/decisions",
    "/_docs/guides",
    "/_docs/reference",
    "/.github",
    "/.spec-driven-docs",
    "/scripts",
    "/tests",
    "/AGENTS.md",
    "/CLAUDE.md",
    "/flake.nix",
    "/flake.lock",
    "/nix",
    "/justfile",
    "/deny.toml",
    "/dist-workspace.toml",
    "/release-plz.toml",
    "/.pre-commit-config.yaml",
    "/.markdownlint-cli2.jsonc",
    "/.editorconfig",
    "/.envrc",
    "/.envrc.local.example",
    "/.config",
    "/dprint.json",
    "/lychee.toml",
    "/_typos.toml",
    "/committed.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Spec-driven documentation: current specs, immutable decision records, and executable gates kept coherent for people and coding agents."
homepage = "https://github.com/gubasso/spec-driven-docs"
readme = "README.md"
keywords = [
    "documentation",
    "pre-commit",
    "spec",
    "gates",
    "docs-as-code",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT AND CC-BY-4.0"
repository = "https://github.com/gubasso/spec-driven-docs"

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

[[bin]]
name = "sdd"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.104"

[dependencies.camino]
version = "1.2.5"
features = ["serde1"]

[dependencies.clap]
version = "4.6.6"
features = [
    "derive",
    "env",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4.6.9"

[dependencies.clap_mangen]
version = "0.3.3"

[dependencies.hex]
version = "0.4.3"

[dependencies.include_dir]
version = "0.7.4"

[dependencies.jiff]
version = "0.2.35"

[dependencies.regex]
version = "1.13.1"

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

[dependencies.serde_json]
version = "1.0.151"

[dependencies.sha2]
version = "0.11.0"

[dependencies.tempfile]
version = "3.27.0"

[dependencies.thiserror]
version = "2.0.20"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "env-filter",
    "fmt",
]

[dependencies.unicode-width]
version = "0.2.2"

[dependencies.walkdir]
version = "2.5.0"

[dependencies.yaml_serde]
version = "0.10"

[dev-dependencies.assert_cmd]
version = "2.2.2"

[dev-dependencies.insta]
version = "1.48.0"
features = ["yaml"]

[dev-dependencies.predicates]
version = "3.1.4"

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

[lints.clippy]
dbg_macro = "deny"
exit = "deny"
expect_used = "warn"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "warn"
wildcard_imports = "deny"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"
unused_must_use = "deny"

[profile.dist]
lto = "thin"
inherits = "release"

[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"