omnidotdev-cli 0.2.0

Agentic CLI for the Omni ecosystem
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "omnidotdev-cli"
version = "0.2.0"
authors = ["Omni <team@omni.dev>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agentic CLI for the Omni ecosystem"
homepage = "https://cli.omni.dev"
readme = "README.md"
keywords = [
    "cli",
    "ai",
    "agent",
    "tui",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/omnidotdev/cli"

[features]
clipboard = ["dep:arboard"]
default = ["clipboard"]

[lib]
name = "omni_cli"
path = "src/lib.rs"

[[bin]]
name = "omni"
path = "src/main.rs"

[[test]]
name = "permission_integration"
path = "tests/permission_integration.rs"

[dependencies.anyhow]
version = "1"

[dependencies.arboard]
version = "3"
optional = true

[dependencies.async-stream]
version = "0.3"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"

[dependencies.chrono]
version = "0.4.43"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.crossterm]
version = "0.28"

[dependencies.directories]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.notify]
version = "7"

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.pulldown-cmark]
version = "0.13"

[dependencies.rand]
version = "0.9.2"

[dependencies.ratatui]
version = "0.29"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.similar]
version = "2.7"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.toml]
version = "0.8"

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.ulid]
version = "1"

[dependencies.utoipa]
version = "5"
features = ["axum_extras"]

[dependencies.utoipa-swagger-ui]
version = "9"
features = ["axum"]

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio-test]
version = "0.4"

[lints.clippy]
assigning_clones = "allow"
cargo_common_metadata = "allow"
cast_possible_wrap = "allow"
collection_is_never_read = "allow"
items_after_statements = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
question_mark = "allow"
self_only_used_in_recursion = "allow"
significant_drop_tightening = "allow"
too_many_lines = "allow"
unnecessary_wraps = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
unsafe_code = "forbid"

[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true