[package] name = "h3o" version = "0.6.4" authors = ["Sylvain Laperche "] edition = "2021" description = "A Rust implementation of the H3 geospatial indexing system." documentation = "https://docs.rs/h3o/" readme = "README.md" homepage = "https://docs.rs/h3o" repository = "https://github.com/HydroniumLabs/h3o" license = "BSD-3-Clause" keywords = ["geography", "geospatial", "gis", "h3", "spatial-index"] categories = ["science::geo", "no-std"] [package.metadata.docs.rs] all-features = true [package.metadata.release] pre-release-commit-message = "release {{version}}" pre-release-replacements = [ {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, {file="CHANGELOG.md", search="", replace="\n## [Unreleased] - ReleaseDate\n", exactly=1}, ] [features] default = ["std"] std = ["dep:ahash"] geo = ["dep:geo", "dep:geojson"] serde = ["dep:serde", "dep:serde_repr"] tools = ["polyfit-rs"] typed_floats = ["dep:typed_floats"] [dependencies] ahash = { version = "0.8", optional = true, default-features = false, features = ["std", "compile-time-rng"] } arbitrary = { version = "1.0", optional = true, default-features = false } either = { version = "1.0", default-features = false } float_eq = { version = "1.0", default-features = false } geo = { version = "0.28", optional = true, default-features = false } geojson = { version = "0.24", optional = true, default-features = false, features = ["geo-types"] } h3o-bit = { version = "0.1", default-features = false } libm = { version = "0.2", default-features = false } polyfit-rs = { version = "0.2", optional = true, default-features = false } serde = { version = "1.0", optional = true, default-features = false, features = ["derive"] } serde_repr = { version = "0.1", optional = true, default-features = false } typed_floats = { version = "1.0", optional = true, default-features = false } [dev-dependencies] approx = { version = "0.5", default-features = false } criterion = { version = "0.5", default-features = false, features = ["plotters", "cargo_bench_support", "html_reports"] } h3ron-h3-sys = { version = "0.17", default-features = false } [lib] # doctests are good for docs, but unfortunately they are slow. # Cf. https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html doctest = false [[bin]] name = "average_edge_length" path = "tools/average_edge_length.rs" required-features = ["tools"] [[bench]] harness = false name = "h3" [profile.release] lto = "thin"