ndatafusion 0.0.1-reserve.0

Extensions and support for linear algebra in DataFusion
# 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"
rust-version = "1.92"
name = "ndatafusion"
version = "0.0.1-reserve.0"
authors = ["George Lee Patterson <patterson.george@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Extensions and support for linear algebra in DataFusion"
homepage = "https://github.com/georgeleepatterson/ndatafusion"
documentation = "https://docs.rs/ndatafusion"
readme = "README.md"
keywords = [
    "datafusion",
    "linear-algebra",
    "ndarray",
    "machine-learning",
]
categories = [
    "mathematics",
    "science",
    "algorithms",
    "artificial-intelligence",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/georgeleepatterson/ndatafusion"

[package.metadata.docs.rs]
no-default-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
accelerator-rayon = ["nabled/accelerator-rayon"]
accelerator-wgpu = ["nabled/accelerator-wgpu"]
blas = ["nabled/blas"]
default = []
lapack-provider = ["nabled/lapack-provider"]
magma-system = [
    "lapack-provider",
    "nabled/magma-system",
]
netlib-static = [
    "blas",
    "nabled/netlib-static",
]
netlib-system = [
    "blas",
    "nabled/netlib-system",
]
openblas-static = [
    "blas",
    "nabled/openblas-static",
]
openblas-system = [
    "blas",
    "nabled/openblas-system",
]
test-utils = ["nabled/test-utils"]

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1.89"

[dependencies.datafusion]
version = "52.0.0"
features = ["math_expressions"]

[dependencies.nabled]
version = "0.0.7"
features = ["arrow"]
default-features = false

[dependencies.ndarray]
version = "0.17.2"

[dependencies.ndarray-linalg]
version = "0.18"
default-features = false

[dependencies.ndarrow]
version = "0.0.3"

[dependencies.num-complex]
version = "0.4"

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

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

[dependencies.serde_json]
version = "1.0.145"

[dev-dependencies.tokio]
version = "1.50.0"
features = [
    "macros",
    "rt-multi-thread",
]

[lints.clippy]
clone_on_ref_ptr = "warn"
large_futures = "warn"
must_use_candidate = "warn"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
elided_lifetimes_in_paths = "deny"
explicit_outlives_requirements = "warn"
let_underscore_drop = "warn"
missing_copy_implementations = "warn"
redundant_lifetimes = "warn"
rust_2024_incompatible_pat = "warn"
single_use_lifetimes = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_import_braces = "warn"
unused_imports = "deny"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
unused_results = "warn"
variant_size_differences = "warn"

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

[profile.ci]
incremental = false
inherits = "dev"

[profile.ci.package."*"]
debug = 0
debug-assertions = false
incremental = false
strip = "debuginfo"

[profile.instruments]
opt-level = 2
lto = "off"
codegen-units = 16
debug = 2
debug-assertions = false
incremental = false
inherits = "release"

[profile.instruments.package."*"]
debug = 2

[profile.release-lto]
opt-level = 3
lto = true
codegen-units = 1
inherits = "release"

[profile.release-with-debug]
debug = 2
inherits = "release"

[profile.release-with-debug.package."*"]
debug = 2