ripvec 0.12.2

Semantic code search CLI — like ripgrep but for meaning
# 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.88.0"
name = "ripvec"
version = "0.12.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Semantic code search CLI — like ripgrep but for meaning"
readme = "README.md"
keywords = [
    "semantic-search",
    "code-search",
    "cli",
    "ripgrep",
    "embeddings",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fnordpig/ripvec"
resolver = "2"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/ripvec-v{ version }-{ target }.tar.gz"
bin-dir = "ripvec-v{ version }-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[features]
cpu = ["ripvec-core/cpu"]
cuda = ["ripvec-core/cuda"]
default = []
metal = ["ripvec-core/metal"]
mlx = ["ripvec-core/mlx"]

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.crossterm]
version = "0.29"

[dependencies.indicatif]
version = "0.18"

[dependencies.ndarray]
version = "0.17"

[dependencies.notify]
version = "8.2.0"

[dependencies.owo-colors]
version = "4"

[dependencies.ratatui]
version = "0.29"

[dependencies.rayon]
version = "1.10"

[dependencies.ripvec-core]
version = "0.12.2"

[dependencies.serde_json]
version = "1.0"

[dependencies.syntect]
version = "5"
features = [
    "default-syntaxes",
    "default-themes",
    "regex-onig",
]
default-features = false

[dependencies.tokenizers]
version = "0.22.2"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-chrome]
version = "0.7"

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

[dev-dependencies.assert_cmd]
version = "2.1"

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

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

[target.'cfg(not(target_os = "macos"))'.dependencies.ripvec-core]
version = "0.12.2"
features = ["cpu"]

[target.'cfg(target_os = "macos")'.dependencies.ripvec-core]
version = "0.12.2"
features = [
    "metal",
    "mlx",
    "cpu-accelerate",
]

[lints.clippy]
cast_precision_loss = "allow"
doc_markdown = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
similar_names = "allow"
too_many_arguments = "allow"

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

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

[lints.rust]
unsafe_code = "warn"