[package]
name = "doc-assert"
version = "0.1.0"
edition = "2021"
license-file = "LICENSE"
readme = "README.md"
repository = "https://github.com/DocAssert/doc-assert"
description = "Validates markdown API docs against live endpoints, ensuring documentation accuracy."
keywords = [
"documentation",
"api",
"validation",
"testing",
]
categories = [
"development-tools::testing",
"command-line-utilities",
"web-programming",
"parsing",
"parser-implementations",
]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
reqwest = { version = "0.11.24", features = ["json"] }
regex = "1.10.3"
clap = { version = "4.4.18", features = ["derive"], optional = true }
tokio = { version = "1.35.1", features = ["full"], optional = true }
[dev-dependencies]
tokio = { version = "1.35.1", features = ["full"] }
mockito = "1.2.0"
[lib]
name = "doc_assert"
path = "src/lib.rs"
[features]
binary = ["clap", "tokio"]
[[bin]]
name = "doc-assert"
path = "src/main.rs"
required-features = ["binary"]