[package]
edition = "2024"
rust-version = "1.99"
name = "crol-cli"
version = "0.1.0"
authors = ["Sanne Ladage"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The crol command-line tool: check, evaluate, format and explain CROL data"
homepage = "https://github.com/DreamLogics/crol"
readme = "README.md"
keywords = [
"crol",
"configuration",
"config",
"cli",
"formatter",
]
categories = [
"command-line-utilities",
"config",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/DreamLogics/crol"
[features]
default = ["remote-schemas"]
remote-schemas = [
"crol-lsp/remote-schemas",
"crol/remote-schemas-async",
]
[[bin]]
name = "crol"
path = "src/main.rs"
[[test]]
name = "commands"
path = "tests/commands.rs"
[[test]]
name = "fmt"
path = "tests/fmt.rs"
[[test]]
name = "init"
path = "tests/init.rs"
[[test]]
name = "modes"
path = "tests/modes.rs"
[[test]]
name = "struct_root"
path = "tests/struct_root.rs"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.codespan-reporting]
version = "0.13"
[dependencies.crol]
version = "0.1.0"
[dependencies.crol-eval]
version = "0.1.0"
[dependencies.crol-lsp]
version = "0.1.0"
default-features = false
[dependencies.crol-syntax]
version = "0.1.0"
[dependencies.indexmap]
version = "2.14"
[dev-dependencies.expect-test]
version = "1.5"
[lints.clippy]
dbg_macro = "warn"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1