oxigdal-algorithms 0.1.0

High-performance SIMD-optimized raster and vector algorithms for OxiGDAL - Pure Rust geospatial processing
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"
rust-version = "1.85"
name = "oxigdal-algorithms"
version = "0.1.0"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance SIMD-optimized raster and vector algorithms for OxiGDAL - Pure Rust geospatial processing"
homepage = "https://github.com/cool-japan/oxigdal"
documentation = "https://docs.rs/oxigdal-algorithms"
readme = "README.md"
keywords = [
    "gdal",
    "science",
    "gis",
    "raster",
    "algorithms",
]
categories = [
    "science",
    "algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxigdal"
resolver = "2"

[features]
arrow = [
    "dep:arrow-array",
    "dep:arrow-buffer",
    "std",
]
avx2 = ["simd"]
avx512 = [
    "simd",
    "avx2",
]
default = [
    "std",
    "simd",
    "dsl",
]
dsl = [
    "dep:pest",
    "dep:pest_derive",
    "std",
]
neon = ["simd"]
parallel = ["dep:rayon"]
simd = []
simd_nightly = ["simd"]
std = [
    "thiserror/std",
    "serde/std",
]

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "advanced_algorithms"
path = "benches/advanced_algorithms.rs"
harness = false
required-features = ["simd"]

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

[[bench]]
name = "dsl"
path = "benches/dsl.rs"
harness = false
required-features = ["dsl"]

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

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

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

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

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

[[bench]]
name = "parallel"
path = "benches/parallel.rs"
harness = false
required-features = ["parallel"]

[[bench]]
name = "parallel_statistics"
path = "benches/parallel_statistics.rs"
harness = false
required-features = ["parallel"]

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

[[bench]]
name = "raster_ops"
path = "benches/raster_ops.rs"

[[bench]]
name = "resampling"
path = "benches/resampling.rs"

[[bench]]
name = "simd_advanced"
path = "benches/simd_advanced.rs"
harness = false
required-features = ["simd"]

[[bench]]
name = "simd_algorithms"
path = "benches/simd_algorithms.rs"

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

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

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

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

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

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

[[bench]]
name = "vector_ops"
path = "benches/vector_ops.rs"

[dependencies.arrow-array]
version = "57"
optional = true

[dependencies.arrow-buffer]
version = "57"
optional = true

[dependencies.delaunator]
version = "1"

[dependencies.fastrand]
version = "2"

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

[dependencies.oxigdal-core]
version = "0.1"

[dependencies.pest]
version = "2"
optional = true

[dependencies.pest_derive]
version = "2"
optional = true

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

[dependencies.rstar]
version = "0.12"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "alloc",
]
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.criterion]
version = "0.7"

[dev-dependencies.pprof]
version = "0.15"
features = [
    "flamegraph",
    "prost-codec",
]
default-features = false

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

[dev-dependencies.rayon]
version = "1"

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
expect_used = "warn"
manual_midpoint = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
panic = "deny"
similar_names = "allow"
suboptimal_flops = "allow"
unwrap_used = "deny"

[lints.rust]
missing_docs = "warn"
unsafe_code = "warn"