[package]
edition = "2024"
name = "complior-cli"
version = "1.0.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI Act Compliance Scanner & Fixer — CLI"
homepage = "https://complior.ai"
readme = "README.md"
keywords = [
"compliance",
"ai",
"eu-ai-act",
"scanner",
"terminal",
]
categories = [
"development-tools",
"command-line-utilities",
]
license = "AGPL-3.0-only"
repository = "https://github.com/complior/complior"
resolver = "2"
[features]
default = []
extras = []
tui = [
"ratatui",
"dep:syntect",
"dep:notify",
"dep:unicode-width",
]
[[bin]]
name = "complior"
path = "src/main.rs"
[dependencies.base64]
version = "0.22.1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.clap_complete]
version = "4"
[dependencies.color-eyre]
version = "0.6"
[dependencies.crossterm]
version = "0.28"
features = ["event-stream"]
[dependencies.dirs]
version = "5"
[dependencies.futures-util]
version = "0.3"
[dependencies.notify]
version = "6"
optional = true
[dependencies.ratatui]
version = "0.30"
optional = true
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
"blocking",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.syntect]
version = "5"
optional = true
[dependencies.termimad]
version = "0.30"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.unicode-width]
version = "0.2"
optional = true
[dev-dependencies.insta]
version = "1"
features = ["filters"]
[dev-dependencies.mockito]
version = "1"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[lints.clippy]
case_sensitive_file_extension_comparisons = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
collapsible_if = "allow"
collection_is_never_read = "allow"
doc_markdown = "allow"
fn_params_excessive_bools = "allow"
format_in_format_args = "allow"
format_push_string = "allow"
future_not_send = "allow"
if_same_then_else = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_pass_by_ref_mut = "allow"
needless_raw_string_hashes = "allow"
no_effect_underscore_binding = "allow"
option_if_let_else = "allow"
ref_option = "allow"
semicolon_if_nothing_returned = "allow"
single_char_pattern = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
uninlined_format_args = "allow"
useless_let_if_seq = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
dead_code = "allow"