# 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.81.0" name = "pmtiles" version = "0.11.0" authors = ["Luke Seelenbinder "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Implementation of the PMTiles v3 spec with multiple sync and async backends." readme = "README.md" keywords = [ "pmtiles", "gis", "geo", ] categories = ["science::geo"] license = "MIT OR Apache-2.0" repository = "https://github.com/stadiamaps/pmtiles-rs" [package.metadata.docs.rs] all-features = true [lib] name = "pmtiles" path = "src/lib.rs" [dependencies.async-compression] version = "0.4" features = ["gzip"] [dependencies.aws-sdk-s3] version = "1.49.0" optional = true [dependencies.bytes] version = "1" [dependencies.fmmap] version = "0.3" optional = true default-features = false [dependencies.hilbert_2d] version = "1" [dependencies.reqwest] version = "0.12.4" optional = true default-features = false [dependencies.rust-s3] version = "0.35.1" features = ["fail-on-err"] optional = true default-features = false [dependencies.serde] version = "1" optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.thiserror] version = "1" [dependencies.tilejson] version = "0.4" optional = true [dependencies.tokio] version = "1" features = ["io-util"] optional = true default-features = false [dependencies.varint-rs] version = "2" [dev-dependencies.flate2] version = "1" [dev-dependencies.fmmap] version = "0.3" features = ["tokio-async"] [dev-dependencies.reqwest] version = "0.12.4" features = ["rustls-tls-webpki-roots"] [dev-dependencies.tokio] version = "1" features = [ "test-util", "macros", "rt", ] [features] __async = [ "dep:tokio", "async-compression/tokio", ] __async-aws-s3 = [ "__async", "dep:aws-sdk-s3", ] __async-s3 = [ "__async", "dep:rust-s3", ] __async-s3-nativetls = ["rust-s3?/use-tokio-native-tls"] __async-s3-rustls = ["rust-s3?/tokio-rustls-tls"] aws-s3-async = ["__async-aws-s3"] default = [] http-async = [ "__async", "dep:reqwest", ] mmap-async-tokio = [ "__async", "dep:fmmap", "fmmap?/tokio-async", ] reqwest-default = ["reqwest?/default"] reqwest-native-tls = ["reqwest?/native-tls"] reqwest-rustls-tls = ["reqwest?/rustls-tls"] reqwest-rustls-tls-native-roots = ["reqwest?/rustls-tls-native-roots"] reqwest-rustls-tls-webpki-roots = ["reqwest?/rustls-tls-webpki-roots"] s3-async-native = [ "__async-s3", "__async-s3-nativetls", ] s3-async-rustls = [ "__async-s3", "__async-s3-rustls", ] tilejson = [ "dep:tilejson", "dep:serde", "dep:serde_json", ] [lints.clippy] missing_errors_doc = "allow" module_name_repetitions = "allow" panic_in_result_fn = "warn" similar_names = "allow" todo = "warn" unwrap_used = "warn" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] unsafe_code = "forbid" unused_qualifications = "warn"