lance-linalg 4.0.2

A columnar data format that is 100x faster than Parquet for random access.
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 = "2024"
name = "lance-linalg"
version = "4.0.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A columnar data format that is 100x faster than Parquet for random access."
readme = "README.md"
keywords = [
    "data-format",
    "data-science",
    "machine-learning",
    "apache-arrow",
    "data-analytics",
]
categories = [
    "database-implementations",
    "data-structures",
    "development-tools",
    "science",
]
license = "Apache-2.0"
repository = "https://github.com/lance-format/lance"

[features]
fp16kernels = []

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

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

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

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

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

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

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

[dependencies.arrow-array]
version = "57.0.0"

[dependencies.arrow-buffer]
version = "57.0.0"

[dependencies.arrow-schema]
version = "57.0.0"

[dependencies.deepsize]
version = "0.2.0"

[dependencies.half]
version = "2.1"
features = [
    "num-traits",
    "std",
]
default-features = false

[dependencies.lance-arrow]
version = "=4.0.2"

[dependencies.lance-core]
version = "=4.0.2"

[dependencies.num-traits]
version = "0.2"

[dependencies.rand]
version = "0.9.1"
features = ["small_rng"]

[dev-dependencies.approx]
version = "0.5.1"

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

[dev-dependencies.proptest]
version = "1.3.1"

[build-dependencies.cc]
version = "1.0.83"

[target.'cfg(target_os = "linux")'.dev-dependencies.pprof]
version = "0.14.0"
features = [
    "flamegraph",
    "criterion",
]

[lints.clippy]
dbg_macro = "deny"
disallowed_macros = "deny"
fallible_impl_from = "deny"
large_futures = "deny"
manual_let_else = "deny"
multiple-crate-versions = "allow"
print_stderr = "deny"
print_stdout = "deny"
redundant_clone = "deny"
redundant_pub_crate = "deny"
single_range_in_vec_init = "allow"
string_add = "deny"
string_add_assign = "deny"
string_lit_as_bytes = "deny"
trait_duplication_in_bounds = "deny"
use_self = "deny"

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

[lints.clippy.cargo]
level = "deny"
priority = -1

[lints.clippy.style]
level = "deny"
priority = -1

[lints.rust]
unsafe_op_in_unsafe_fn = "allow"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage,coverage_nightly)"]