roc/crates/docs_cli/Cargo.toml
2022-08-03 11:41:19 +02:00

22 lines
694 B
TOML

[package]
name = "roc_docs_cli"
version = "0.0.1"
license = "UPL-1.0"
authors = ["The Roc Contributors"]
edition = "2021"
# This binary is only used on static build servers, e.g. Netlify.
# Having its own (extremely minimal) CLI means docs can be generated
# on a build server after building this crate from source, without
# having to install non-Rust dependencies (LLVM, Zig, wasm things, etc.)
# It gets called in www/build.sh via `cargo run --bin roc-docs`
[[bin]]
name = "roc-docs"
path = "src/main.rs"
test = false
bench = false
[dependencies]
roc_docs = { path = "../docs" }
clap = { version = "3.1.15", default-features = false, features = ["std", "color", "suggestions", "derive"] }