sqlitegis 0.1.4

SQLiteGIS: PostGIS-style spatial functions for SQLite in pure Rust.
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.88"
name = "sqlitegis"
version = "0.1.4"
authors = ["Luca Cappelletti"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQLiteGIS: PostGIS-style spatial functions for SQLite in pure Rust."
homepage = "https://github.com/LucaCappelletti94/sqlitegis"
documentation = "https://docs.rs/sqlitegis"
readme = "README.md"
keywords = [
    "geospatial",
    "sqlite",
    "postgis",
    "diesel",
    "ewkb",
]
categories = [
    "database",
    "api-bindings",
    "algorithms",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/LucaCappelletti94/sqlitegis"

[package.metadata.docs.rs]
features = [
    "sqlite",
    "sqlite-extension",
    "diesel-sqlite",
    "diesel-postgres",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bench-spatialite = []
bundled-sqlite = ["libsqlite3-sys?/bundled"]
default = ["diesel-sqlite"]
diesel = ["dep:diesel"]
diesel-postgres = [
    "diesel",
    "diesel/postgres",
]
diesel-sqlite = [
    "diesel",
    "sqlite",
    "diesel/sqlite",
]
sqlite = [
    "dep:libsqlite3-sys",
    "dep:sqlite-wasm-rs",
]
sqlite-extension = ["sqlite"]

[lib]
name = "sqlitegis"
crate-type = [
    "lib",
    "cdylib",
]
path = "src/lib.rs"

[[test]]
name = "sqlite_integration"
path = "tests/sqlite_integration.rs"
required-features = ["sqlite"]

[[test]]
name = "sqlite_wasm"
path = "tests/sqlite_wasm.rs"
required-features = ["sqlite"]

[[test]]
name = "diesel_sqlite_types"
path = "tests/diesel_sqlite_types.rs"
required-features = ["diesel-sqlite"]

[[test]]
name = "diesel_expression_methods"
path = "tests/diesel_expression_methods.rs"
required-features = ["diesel-sqlite"]

[[test]]
name = "diesel_sqlite_integration"
path = "tests/diesel_sqlite_integration.rs"
required-features = ["diesel-sqlite"]

[[test]]
name = "diesel_wasm_integration"
path = "tests/diesel_wasm_integration.rs"
required-features = ["diesel-sqlite"]

[[test]]
name = "diesel_postgres_integration"
path = "tests/diesel_postgres_integration.rs"
required-features = ["diesel-postgres"]

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

[[bench]]
name = "spatialite_vs_sqlitegis"
path = "benches/spatialite_vs_sqlitegis.rs"
harness = false
required-features = [
    "bench-spatialite",
    "sqlite",
    "bundled-sqlite",
]

[dependencies.diesel]
version = "2"
optional = true
default-features = false

[dependencies.geo]
version = "0.33"
default-features = false

[dependencies.geozero]
version = "0.15"
features = [
    "with-wkt",
    "with-geojson",
    "with-svg",
    "with-geo",
    "with-wkb",
]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.chrono]
version = "0.4"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.libsqlite3-sys]
version = ">=0.17.2, <0.38.0"
features = ["bundled_bindings"]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.8.2"
features = [
    "plotters",
    "cargo_bench_support",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.libsqlite3-sys]
version = ">=0.17.2, <0.38.0"
features = ["bundled_bindings"]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.testcontainers-modules]
version = "0.15"
features = ["postgres"]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.sqlite-wasm-rs]
version = "0.5"
optional = true

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.sqlite-wasm-rs]
version = "0.5"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"

[profile.release]
opt-level = "z"
lto = true
strip = true