libh3 0.3.0

Safe Rust Bindings to Uber's Hexagonal Hierarchical Spatial Index - H3
# 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.70"
name = "libh3"
version = "0.3.0"
authors = [
    "Rusty Conover <rusty@conover.me>",
    "Ricky <ricky85ps@web.de>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust Bindings to Uber's Hexagonal Hierarchical Spatial Index - H3"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ricky85ps/libh3.git"

[package.metadata.h3-sources]
targz_url = "https://github.com/uber/h3/archive/refs/tags/v4.5.0.tar.gz"
targz_sha512sum = "8b74989632e2f23ecd26098d1accf6289ab0aac025ed695eafc0919e450090f935990518d26cb5b2f01df180e60f1bf3896607bc39771808b63ffc87a18921e4"
targz_root_dir = "h3-4.5.0"

[features]
default = ["uber_h3_from_scratch"]
uber_h3_from_scratch = [
    "dep:cmake",
    "dep:flate2",
    "dep:hex",
    "dep:reqwest",
    "dep:sha2",
    "dep:tar",
    "dep:toml",
]

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

[dependencies.static_assertions]
version = "1.1.0"

[build-dependencies.bindgen]
version = "0.72.1"

[build-dependencies.cmake]
version = "0.1.54"
optional = true

[build-dependencies.flate2]
version = "1.1.1"
optional = true

[build-dependencies.hex]
version = "0.4.3"
optional = true

[build-dependencies.reqwest]
version = "0.13.2"
features = ["blocking"]
optional = true

[build-dependencies.sha2]
version = "0.11.0"
optional = true

[build-dependencies.tar]
version = "0.4.44"
optional = true

[build-dependencies.toml]
version = "1.1.2+spec-1.1.0"
optional = true