omni-dev 0.28.0

A powerful Git commit message analysis and amendment toolkit
Documentation
# 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 = "2021"
rust-version = "1.80.0"
name = "omni-dev"
version = "0.28.0"
authors = ["John Ky <newhoggy@gmail.com>"]
build = false
exclude = [
    "website/",
    "assets/",
    "scratch/",
    "tests/fixtures/voice/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A powerful Git commit message analysis and amendment toolkit"
homepage = "https://github.com/rust-works/omni-dev"
documentation = "https://docs.rs/omni-dev"
readme = "README.md"
keywords = [
    "git",
    "commit",
    "conventional-commits",
    "development",
    "cli",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "BSD-3-Clause"
repository = "https://github.com/rust-works/omni-dev"

[features]
mcp = ["dep:rmcp"]

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

[[bin]]
name = "adf-schema-codegen"
path = "src/bin/adf_schema_codegen.rs"
required-features = []

[[bin]]
name = "adf-schema-drift"
path = "src/bin/adf_schema_drift.rs"
required-features = []

[[bin]]
name = "omni-dev"
path = "src/main.rs"
required-features = []

[[bin]]
name = "omni-dev-mcp"
path = "src/mcp_server.rs"
required-features = ["mcp"]

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.22"

[dependencies.byteorder]
version = "1"

[dependencies.candle-core]
version = "0.10"
default-features = false

[dependencies.candle-nn]
version = "0.10"
default-features = false

[dependencies.candle-transformers]
version = "0.10"
default-features = false

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.6"
features = [
    "derive",
    "color",
]

[dependencies.clap_complete]
version = "4.6"

[dependencies.cpal]
version = "0.17"

[dependencies.crossterm]
version = "0.29"

[dependencies.dirs]
version = "6.0.0"

[dependencies.flate2]
version = "1"

[dependencies.futures]
version = "0.3"

[dependencies.git2]
version = "0.21"

[dependencies.globset]
version = "0.4"

[dependencies.hf-hub]
version = "0.5"
features = [
    "ureq",
    "rustls-tls",
]
default-features = false

[dependencies.hound]
version = "3.5"

[dependencies.mime_guess]
version = "2"

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1.12.3"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "multipart",
    "stream",
]

[dependencies.ringbuf]
version = "0.5"

[dependencies.rmcp]
version = "1.7"
features = [
    "server",
    "transport-io",
    "macros",
]
optional = true

[dependencies.rubato]
version = "3.0"

[dependencies.rustfft]
version = "6"

[dependencies.schemars]
version = "1.2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.11"

[dependencies.signal-hook]
version = "0.4"

[dependencies.similar]
version = "3.1"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3.27"

[dependencies.termcolor]
version = "1.1"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokenizers]
version = "0.23"
features = ["fancy-regex"]
default-features = false

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

[dependencies.tokio-tungstenite]
version = "0.24"

[dependencies.tokio-util]
version = "0.7"
features = [
    "codec",
    "io",
]

[dependencies.tracing]
version = "0.1"

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

[dependencies.tract-onnx]
version = "0.22"

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

[dependencies.ureq]
version = "3"

[dependencies.url]
version = "2.5.8"

[dependencies.yaml-rust-davvid]
version = "0.6"

[dev-dependencies.insta]
version = "1.47"
features = ["filters"]

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rmcp]
version = "1.7"
features = [
    "client",
    "server",
    "transport-io",
    "macros",
]

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

[dev-dependencies.wiremock]
version = "0.6"

[target."cfg(unix)".dependencies.nix]
version = "0.31"
features = ["signal"]
default-features = false

[lints.clippy]
case_sensitive_file_extension_comparisons = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
expect_used = "warn"
format_push_string = "allow"
if_not_else = "allow"
items_after_statements = "allow"
large_stack_arrays = "allow"
large_stack_frames = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
redundant_pub_crate = "allow"
ref_option = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
unnecessary_wraps = "allow"
unused_async = "allow"
unused_self = "allow"
unwrap_used = "warn"

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

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

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

[lints.rust]
unsafe_code = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(online_tests)"]