[package]
edition = "2024"
rust-version = "1.85"
name = "oxigdal-gpu"
version = "0.1.3"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GPU-accelerated geospatial operations for OxiGDAL using WGPU"
homepage = "https://github.com/cool-japan/oxigdal"
documentation = "https://docs.rs/oxigdal-gpu"
readme = "README.md"
keywords = [
"gis",
"gdal",
"gpu",
"wgpu",
"science",
]
categories = [
"science",
"graphics",
"rendering",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxigdal"
resolver = "2"
[features]
all-native-backends = [
"vulkan",
"metal",
"dx12",
]
auto-backend = []
backend-optimizations = [
"cuda",
"vulkan",
"metal",
"directml",
]
cuda = []
default = ["auto-backend"]
directml = []
dx12 = ["wgpu/dx12"]
metal = ["wgpu/metal"]
multi-gpu = []
vulkan = ["wgpu/vulkan"]
webgpu = ["wgpu/webgpu"]
[lib]
name = "oxigdal_gpu"
path = "src/lib.rs"
[[test]]
name = "gpu_expansion_test"
path = "tests/gpu_expansion_test.rs"
[[test]]
name = "gpu_integration_test"
path = "tests/gpu_integration_test.rs"
[[test]]
name = "gpu_test"
path = "tests/gpu_test.rs"
[[test]]
name = "proptest_algebra"
path = "tests/proptest_algebra.rs"
[[test]]
name = "rendering_test"
path = "tests/rendering_test.rs"
[[bench]]
name = "comprehensive_bench"
path = "benches/comprehensive_bench.rs"
[[bench]]
name = "gpu_bench"
path = "benches/gpu_bench.rs"
harness = false
[dependencies.async-trait]
version = "0.1"
[dependencies.bytemuck]
version = "1"
features = ["derive"]
[dependencies.encase]
version = "0.12"
[dependencies.futures]
version = "0.3"
[dependencies.glam]
version = "0.32"
features = ["bytemuck"]
[dependencies.naga]
version = "29"
features = [
"wgsl-in",
"wgsl-out",
]
[dependencies.num-traits]
version = "0.2"
[dependencies.oxigdal-core]
version = "0.1"
[dependencies.pollster]
version = "0.4"
[dependencies.rayon]
version = "1"
[dependencies.serde]
version = "1"
features = [
"derive",
"alloc",
"derive",
]
default-features = false
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
default-features = false
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.wgpu]
version = "29"
features = [
"wgsl",
"metal",
]
default-features = false
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"macros",
"rt-multi-thread",
]
[target.'cfg(target_os = "linux")'.dependencies.wgpu]
version = "29"
features = [
"wgsl",
"metal",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.wgpu]
version = "29"
features = [
"wgsl",
"metal",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.wgpu]
version = "29"
features = [
"wgsl",
"metal",
]
default-features = false
[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"