[package]
edition = "2021"
rust-version = "1.75"
name = "a3s-vec"
version = "0.1.8"
authors = ["A3S Lab Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native Rust in-process vector database with zvec-compatible capabilities"
documentation = "https://docs.rs/a3s-vec"
readme = "README.md"
keywords = [
"a3s",
"vector-database",
"ann",
"hnsw",
"fts",
]
categories = [
"database-implementations",
"algorithms",
]
license = "MIT"
repository = "https://github.com/A3S-Lab/Vec"
[package.metadata.docs.rs]
all-features = true
[features]
async = ["dep:tokio"]
default = []
jieba = ["dep:jieba-rs"]
[lib]
name = "a3s_vec"
path = "src/lib.rs"
[[example]]
name = "crud_operations"
path = "examples/crud_operations.rs"
[[example]]
name = "group_by"
path = "examples/group_by.rs"
[[example]]
name = "maintenance_health"
path = "examples/maintenance_health.rs"
[[example]]
name = "retrieval_workflows"
path = "examples/retrieval_workflows.rs"
[[example]]
name = "schema_builder"
path = "examples/schema_builder.rs"
[[example]]
name = "schema_iteration"
path = "examples/schema_iteration.rs"
[[example]]
name = "vector_search"
path = "examples/vector_search.rs"
[[test]]
name = "ann_contracts"
path = "tests/ann_contracts.rs"
[[test]]
name = "ann_fallback_contracts"
path = "tests/ann_fallback_contracts.rs"
[[test]]
name = "async_queries"
path = "tests/async_queries.rs"
[[test]]
name = "binary_queries"
path = "tests/binary_queries.rs"
[[test]]
name = "concurrency"
path = "tests/concurrency.rs"
[[test]]
name = "contracts"
path = "tests/contracts.rs"
[[test]]
name = "differential_fts"
path = "tests/differential_fts.rs"
[[test]]
name = "differential_oracle"
path = "tests/differential_oracle.rs"
[[test]]
name = "document_api"
path = "tests/document_api.rs"
[[test]]
name = "durability"
path = "tests/durability.rs"
[[test]]
name = "enterprise_ga"
path = "tests/enterprise_ga.rs"
[[test]]
name = "execution_contracts"
path = "tests/execution_contracts.rs"
[[test]]
name = "feature_matrix"
path = "tests/feature_matrix.rs"
[[test]]
name = "filtered_ann"
path = "tests/filtered_ann.rs"
[[test]]
name = "filtered_mmap_diskann"
path = "tests/filtered_mmap_diskann.rs"
[[test]]
name = "filtered_mmap_vamana"
path = "tests/filtered_mmap_vamana.rs"
[[test]]
name = "filtered_rabitq"
path = "tests/filtered_rabitq.rs"
[[test]]
name = "flat_packed"
path = "tests/flat_packed.rs"
[[test]]
name = "fts_advanced_query_syntax"
path = "tests/fts_advanced_query_syntax.rs"
[[test]]
name = "fts_filters"
path = "tests/fts_filters.rs"
[[test]]
name = "fts_indexes"
path = "tests/fts_indexes.rs"
[[test]]
name = "fts_query_syntax"
path = "tests/fts_query_syntax.rs"
[[test]]
name = "fts_tokenizer_rebuild"
path = "tests/fts_tokenizer_rebuild.rs"
[[test]]
name = "generated_differential"
path = "tests/generated_differential.rs"
[[test]]
name = "group_by_api"
path = "tests/group_by_api.rs"
[[test]]
name = "incremental_ann_mutations"
path = "tests/incremental_ann_mutations.rs"
[[test]]
name = "index_cache"
path = "tests/index_cache.rs"
[[test]]
name = "maintenance_health"
path = "tests/maintenance_health.rs"
[[test]]
name = "mmap_diskann"
path = "tests/mmap_diskann.rs"
[[test]]
name = "multi_query_normalization"
path = "tests/multi_query_normalization.rs"
[[test]]
name = "multi_query_oracle"
path = "tests/multi_query_oracle.rs"
[[test]]
name = "mutation_validation"
path = "tests/mutation_validation.rs"
[[test]]
name = "ngram_fts"
path = "tests/ngram_fts.rs"
[[test]]
name = "owned_kernel"
path = "tests/owned_kernel.rs"
[[test]]
name = "public_api_contract"
path = "tests/public_api_contract.rs"
[[test]]
name = "query_contract_rejects"
path = "tests/query_contract_rejects.rs"
[[test]]
name = "query_controls"
path = "tests/query_controls.rs"
[[test]]
name = "resource_limits"
path = "tests/resource_limits.rs"
[[test]]
name = "scalar_indexes"
path = "tests/scalar_indexes.rs"
[[test]]
name = "schema_builders"
path = "tests/schema_builders.rs"
[[test]]
name = "schema_evolution"
path = "tests/schema_evolution.rs"
[[test]]
name = "schema_index_contract"
path = "tests/schema_index_contract.rs"
[[test]]
name = "source_id_queries"
path = "tests/source_id_queries.rs"
[[test]]
name = "storage_ceilings"
path = "tests/storage_ceilings.rs"
[[test]]
name = "vector_codecs"
path = "tests/vector_codecs.rs"
[[test]]
name = "workspace_retrieval_contract"
path = "tests/workspace_retrieval_contract.rs"
[[bench]]
name = "ann_recall"
path = "benches/ann_recall.rs"
harness = false
[[bench]]
name = "concurrent_queries"
path = "benches/concurrent_queries.rs"
harness = false
[[bench]]
name = "feature_matrix"
path = "benches/feature_matrix.rs"
harness = false
[[bench]]
name = "filtered_ann"
path = "benches/filtered_ann.rs"
harness = false
[[bench]]
name = "fts_index"
path = "benches/fts_index.rs"
harness = false
[[bench]]
name = "incremental_write"
path = "benches/incremental_write.rs"
harness = false
[[bench]]
name = "lifecycle_matrix"
path = "benches/lifecycle_matrix.rs"
harness = false
[[bench]]
name = "mixed_workload"
path = "benches/mixed_workload.rs"
harness = false
[[bench]]
name = "ngram_fts"
path = "benches/ngram_fts.rs"
harness = false
[[bench]]
name = "reopen_index"
path = "benches/reopen_index.rs"
harness = false
[[bench]]
name = "scalar_filter"
path = "benches/scalar_filter.rs"
harness = false
[[bench]]
name = "scale_compare"
path = "benches/scale_compare.rs"
harness = false
[[bench]]
name = "structured_fts"
path = "benches/structured_fts.rs"
harness = false
[dependencies.bincode]
version = "=1.3.3"
[dependencies.bitmaps]
version = "=3.1.0"
[dependencies.crc32fast]
version = "1"
[dependencies.fs2]
version = "0.4"
[dependencies.im]
version = "=3.0.0"
features = ["serde"]
package = "imbl"
[dependencies.jieba-rs]
version = "0.7"
optional = true
[dependencies.memmap2]
version = "=0.9.11"
[dependencies.rayon]
version = "=1.10.0"
[dependencies.rayon-core]
version = "=1.12.1"
[dependencies.rmp]
version = "=0.8.14"
[dependencies.rmp-serde]
version = "=1.3.0"
[dependencies.roaring]
version = "=0.11.1"
features = ["serde"]
[dependencies.rust-stemmers]
version = "=1.2.0"
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
]
optional = true
[dependencies.unicode-general-category]
version = "=1.1.0"
[dependencies.unicode-normalization]
version = "=0.1.24"
[dev-dependencies.tempfile]
version = "=3.14.0"
[lints.clippy]
missing_errors_doc = "allow"
must_use_candidate = "allow"
return_self_not_must_use = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"