moeix 0.2.6

High-performance trigram code search for humans and AI agents.
# 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"
name = "moeix"
version = "0.2.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance trigram code search for humans and AI agents."
readme = "README.md"
keywords = [
    "search",
    "grep",
    "trigram",
    "code",
    "index",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/moeshawky/ix"

[features]
archive = [
    "zip",
    "tar",
]
decompress = [
    "flate2",
    "zstd",
    "bzip2",
    "xz2",
]
default = ["notify"]
full = [
    "decompress",
    "notify",
    "archive",
]
notify = ["dep:notify"]

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

[[bin]]
name = "ix"
path = "src/bin/ix.rs"

[[bin]]
name = "ixd"
path = "src/bin/ixd.rs"
required-features = ["notify"]

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

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

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

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

[[bench]]
name = "search"
path = "benches/search.rs"
harness = false

[dependencies.bzip2]
version = "0.5"
optional = true

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

[dependencies.crc32c]
version = "0.6"

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.ctrlc]
version = "3.4"

[dependencies.flate2]
version = "1"
optional = true

[dependencies.ignore]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.llmosafe]
version = "0.5"

[dependencies.memmap2]
version = "0.9"

[dependencies.nix]
version = "0.29"
features = [
    "process",
    "signal",
]

[dependencies.notify]
version = "7"
optional = true

[dependencies.rayon]
version = "1"

[dependencies.regex]
version = "1"

[dependencies.regex-syntax]
version = "0.8"

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

[dependencies.serde_json]
version = "1"

[dependencies.tar]
version = "0.4"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

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

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh64"]

[dependencies.xz2]
version = "0.1"
optional = true

[dependencies.zip]
version = "2"
features = ["deflate"]
optional = true
default-features = false

[dependencies.zstd]
version = "0.13"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.rand]
version = "0.8"

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

[profile.release]
lto = true
codegen-units = 1
strip = true