[package]
edition = "2024"
rust-version = "1.85"
name = "adrscope"
version = "0.3.0"
authors = ["Robert Allen <zircote@gmail.com>"]
build = false
include = [
"src/**",
"templates/**",
"/README.md",
"/CHANGELOG.md",
"/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, zero-dependency visualization tool for Architecture Decision Records"
homepage = "https://github.com/zircote/adrscope"
documentation = "https://docs.rs/adrscope"
readme = "README.md"
keywords = [
"adr",
"architecture",
"documentation",
"cli",
"madr",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/zircote/adrscope"
[features]
default = []
testing = []
[lib]
name = "adrscope"
path = "src/lib.rs"
[[bin]]
name = "adrscope"
path = "src/main.rs"
[dependencies.askama]
version = "0.14"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.glob]
version = "0.3"
[dependencies.pulldown-cmark]
version = "0.13"
features = ["html"]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"serde",
"formatting",
"parsing",
"macros",
]
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
dbg_macro = "deny"
doc_markdown = "allow"
double_must_use = "allow"
expect_used = "deny"
missing_const_for_fn = "allow"
missing_const_for_thread_local = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "allow"
print_stderr = "allow"
print_stdout = "allow"
redundant_pub_crate = "allow"
significant_drop_tightening = "allow"
single_char_pattern = "allow"
todo = "deny"
unimplemented = "deny"
uninlined_format_args = "allow"
unnecessary_sort_by = "allow"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[profile.dev]
opt-level = 0
debug = 1
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true
[profile.release-debug]
debug = 2
inherits = "release"
strip = false