# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

[package]
name = "paimon-vindex-core"
version = "0.4.0"
edition = "2021"
description = "Apache Paimon Vector Index — core Rust library"
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/apache/paimon-vector-index"
homepage = "https://paimon.apache.org"
documentation = "https://docs.rs/paimon-vindex-core"

[dependencies]
half = "2"
nalgebra = "0.33"
rand = "0.8"
rayon = "1.10"
matrixmultiply = "0.3"
roaring = "0.11"

[dev-dependencies]
criterion = "0.5"
libc = "0.2"

[[bench]]
name = "pq4_bench"
harness = false

[[bench]]
name = "recall_bench"
harness = false

[[bench]]
name = "ann_bench"
harness = false

[[bench]]
name = "diskann_bench"
harness = false

[[bench]]
name = "ivfpq_batch_reuse_bench"
harness = false

[[bench]]
name = "ivfpq_filter_scan_bench"
harness = false

[[bench]]
name = "ivfpq_train_bench"
harness = false
