lance-encoding 1.0.2

Encoders and decoders for the Lance file format
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"
rust-version = "1.82.0"
name = "lance-encoding"
version = "1.0.2"
authors = ["Lance Devs <dev@lance.org>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Encoders and decoders for the Lance file format"
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"

[package.metadata.docs.rs]
features = ["protoc"]

[features]
bitpacking = ["dep:lance-bitpacking"]
default = [
    "lz4",
    "zstd",
    "bitpacking",
]
lz4 = ["dep:lz4"]
protoc = ["dep:protobuf-src"]
zstd = ["dep:zstd"]

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

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

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

[dependencies.arrow-arith]
version = "56.1"

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

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

[dependencies.arrow-cast]
version = "56.1"

[dependencies.arrow-data]
version = "56.1"

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

[dependencies.arrow-select]
version = "56.1"

[dependencies.bytemuck]
version = "1.14"
features = ["extern_crate_alloc"]

[dependencies.byteorder]
version = "1.5"

[dependencies.bytes]
version = "1.4"

[dependencies.fsst]
version = "=1.0.2"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4.3"

[dependencies.hyperloglogplus]
version = "0.4.1"
features = ["const-loop"]

[dependencies.itertools]
version = "0.13"

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

[dependencies.lance-bitpacking]
version = "=1.0.2"
optional = true

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

[dependencies.log]
version = "0.4"

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

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

[dependencies.prost]
version = "0.13.2"

[dependencies.prost-types]
version = "0.13.2"

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

[dependencies.snafu]
version = "0.8"

[dependencies.strum]
version = "0.26"
features = ["derive"]

[dependencies.tokio]
version = "1.23"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "sync",
]

[dependencies.tracing]
version = "0.1"

[dependencies.xxhash-rust]
version = "0.8.15"
features = ["xxh3"]

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

[dev-dependencies.arrow-ord]
version = "56.1"

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

[dev-dependencies.lance-datagen]
version = "=1.0.2"

[dev-dependencies.lance-testing]
version = "=1.0.2"

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

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

[dev-dependencies.rand_xoshiro]
version = "0.7.0"

[dev-dependencies.rstest]
version = "0.23.0"

[dev-dependencies.test-log]
version = "0.2.15"

[build-dependencies.prost-build]
version = "0.13.2"

[build-dependencies.protobuf-src]
version = "2.1"
optional = true

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

[lints.clippy]
dbg_macro = "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"
string_to_string = "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