motedb 0.2.0

AI-native embedded multimodal database for embodied intelligence (robots, AR glasses, industrial arms).
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"
name = "motedb"
version = "0.2.0"
authors = ["motedb <motedb@126.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI-native embedded multimodal database for embodied intelligence (robots, AR glasses, industrial arms)."
homepage = "https://github.com/motedb/motedb"
documentation = "https://docs.rs/motedb"
readme = "docs/README.md"
keywords = [
    "database",
    "embedded",
    "vector",
    "multimodal",
]
categories = [
    "database",
    "embedded",
    "algorithms",
]
license = "MIT"
repository = "https://github.com/motedb/motedb"

[features]
default = [
    "tokenizer-jieba",
    "rayon",
    "jemalloc",
]
default-edge = []
jemalloc = ["tikv-jemallocator"]
mem-profiling = [
    "tikv-jemallocator",
    "tikv-jemalloc-ctl",
]
rayon = ["dep:rayon"]
tokenizer-all = ["tokenizer-jieba"]
tokenizer-jieba = ["jieba-rs"]

[lib]
name = "motedb"
crate-type = [
    "rlib",
    "staticlib",
    "cdylib",
]
path = "src/lib.rs"

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

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

[[bin]]
name = "motedb-cli"
path = "src/bin/motedb-cli.rs"

[[example]]
name = "mem_profile"
path = "examples/mem_profile.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.ahash]
version = "0.8"

[dependencies.bincode]
version = "1.3"

[dependencies.crc32fast]
version = "1.4"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.jieba-rs]
version = "0.7"
optional = true

[dependencies.libc]
version = "0.2"

[dependencies.lru]
version = "0.12"

[dependencies.memmap2]
version = "0.9"

[dependencies.parking_lot]
version = "0.12"

[dependencies.phf]
version = "0.11"
features = ["macros"]

[dependencies.rand]
version = "0.8"

[dependencies.rayon]
version = "1.8"
optional = true

[dependencies.roaring]
version = "0.10"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.snap]
version = "1.1"

[dependencies.thiserror]
version = "1.0"

[dependencies.tikv-jemalloc-ctl]
version = "0.5"
optional = true

[dependencies.tikv-jemallocator]
version = "0.5"
features = [
    "background_threads",
    "unprefixed_malloc_on_supported_platforms",
]
optional = true

[dependencies.zstd]
version = "0.13"

[dev-dependencies.clap]
version = "4.4"
features = ["derive"]

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

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

[dev-dependencies.tikv-jemalloc-ctl]
version = "0.5"

[dev-dependencies.tikv-jemallocator]
version = "0.5"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true

[profile.release-small]
opt-level = "z"
lto = "fat"
inherits = "release"

[profile.release-test]
panic = "unwind"
inherits = "release"
strip = false