[package]
name = "omnidotdev-cli"
version = "0.2.0"
edition = "2024"
rust-version = "1.85"
authors = ["Omni <team@omni.dev>"]
description = "Agentic CLI for the Omni ecosystem"
license = "MIT"
repository = "https://github.com/omnidotdev/cli"
homepage = "https://cli.omni.dev"
keywords = ["cli", "ai", "agent", "tui"]
categories = ["command-line-utilities", "development-tools"]
readme = "README.md"
[[bin]]
name = "omni"
path = "src/main.rs"
[lib]
name = "omni_cli"
path = "src/lib.rs"
[features]
default = ["clipboard"]
clipboard = ["dep:arboard"]
[dependencies]
clap = { version = "4", features = ["derive", "env"] }
ratatui = "0.29"
crossterm = "0.28"
arboard = { version = "3", optional = true }
pulldown-cmark = "0.13"
axum = "0.8"
tokio = { version = "1", features = ["full"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace"] }
utoipa = { version = "5", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "9", features = ["axum"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
anyhow = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
directories = "6"
toml = "0.8"
futures = "0.3"
async-trait = "0.1"
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls"] }
async-stream = "0.3"
pin-project-lite = "0.2"
tokio-stream = "0.1"
notify = "7"
ignore = "0.4"
similar = "2.7"
regex = "1"
uuid = { version = "1", features = ["v4"] }
rand = "0.9.2"
hex = "0.4"
chrono = "0.4.43"
parking_lot = "0.12.5"
ulid = "1"
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3"
[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
cargo_common_metadata = "allow"
missing_errors_doc = "allow"
significant_drop_tightening = "allow"
option_if_let_else = "allow"
cast_possible_wrap = "allow"
unnecessary_wraps = "allow"
items_after_statements = "allow"
needless_pass_by_value = "allow"
question_mark = "allow"
collection_is_never_read = "allow"
assigning_clones = "allow"
or_fun_call = "allow"
self_only_used_in_recursion = "allow"
too_many_lines = "allow"
match_same_arms = "allow"