geopackage 0.7.1

Read and write OGC GeoPackage (.gpkg) files: pure-Rust container handling over bundled SQLite, with spec-correct spatial indexing
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.95"
name = "geopackage"
version = "0.7.1"
authors = ["The GeoRust developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read and write OGC GeoPackage (.gpkg) files: pure-Rust container handling over bundled SQLite, with spec-correct spatial indexing"
readme = "README.md"
keywords = [
    "geopackage",
    "gpkg",
    "gis",
    "geospatial",
    "ogc",
]
categories = [
    "science::geo",
    "database",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/urschrei/geopackage"

[package.metadata.docs.rs]
all-features = true

[features]
arrow = [
    "dep:arrow-array",
    "dep:arrow-schema",
    "dep:serde_json",
    "dep:sysinfo",
]
default = ["geo-types"]
geo-types = ["geopackage-core/geo-types"]

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

[[example]]
name = "arrow_bench"
path = "examples/arrow_bench.rs"
required-features = ["arrow"]

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

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

[[example]]
name = "dataset_bench"
path = "examples/dataset_bench.rs"
required-features = ["arrow"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.arrow-schema]
version = "59"
optional = true

[dependencies.epsg-utils]
version = "0.0.3"

[dependencies.geo-traits]
version = "0.3"

[dependencies.geopackage-core]
version = "0.7.1"
default-features = false

[dependencies.rusqlite]
version = "0.40"
features = [
    "bundled",
    "functions",
    "limits",
]

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

[dependencies.sysinfo]
version = "0.39"
features = ["system"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2"

[dev-dependencies.arrow-array]
version = "59"

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

[dev-dependencies.geo-types]
version = "0.7"

[dev-dependencies.hegeltest]
version = "0.28.2"

[dev-dependencies.rusqlite]
version = "0.40"
features = [
    "bundled",
    "functions",
    "limits",
]

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

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.wkb]
version = "0.9"

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
cast_sign_loss = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
expl_impl_clone_on_copy = "warn"
float_cmp = "warn"
float_cmp_const = "warn"
get_unwrap = "warn"
if_let_mutex = "warn"
indexing_slicing = "warn"
invalid_upcast_comparisons = "warn"
iter_not_returning_iterator = "warn"
large_futures = "warn"
let_underscore_future = "warn"
let_underscore_must_use = "warn"
lossy_float_literal = "warn"
map_err_ignore = "warn"
mem_forget = "warn"
multiple_unsafe_ops_per_block = "warn"
panic = "warn"
panic_in_result_fn = "warn"
rc_mutex = "warn"
self_named_module_files = "warn"
string_slice = "warn"
todo = "warn"
unchecked_time_subtraction = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unreachable = "warn"
unused_result_ok = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"

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