[package]
edition = "2024"
rust-version = "1.95"
name = "oxigeo-node"
version = "0.2.2"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Node.js bindings for OxiGeo - Pure Rust geospatial data abstraction library"
homepage = "https://github.com/cool-japan/oxigeo"
documentation = "https://docs.rs/oxigeo-node"
readme = "README.md"
keywords = [
"science",
"gdal",
"raster",
"gis",
"nodejs",
]
categories = [
"science",
"api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxigeo"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
algorithms = []
async-io = []
default = [
"geotiff",
"geojson",
"proj",
]
geojson = []
geotiff = []
proj = []
[lib]
name = "oxigeo_node"
crate-type = ["cdylib"]
path = "src/lib.rs"
[dependencies.napi]
version = "3"
features = [
"async",
"tokio_rt",
"napi8",
"serde-json",
]
[dependencies.napi-derive]
version = "3"
[dependencies.oxigeo-algorithms]
version = "0.2.2"
default-features = true
[dependencies.oxigeo-core]
version = "0.2.2"
default-features = true
[dependencies.oxigeo-geotiff]
version = "0.2.2"
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tempfile]
version = "3"
[build-dependencies.napi-build]
version = "2"
[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"