Cargo Features

PMTiles has no features set by default.

[dependencies]
pmtiles = { version = "0.11.0", features = ["http-async", "mmap-async-tokio", "s3-async-native", "s3-async-rustls", "aws-s3-async", "tilejson", "reqwest-default", "reqwest-native-tls", "reqwest-rustls-tls", "reqwest-rustls-tls-native-roots", "reqwest-rustls-tls-webpki-roots"] }
http-async = __async

Enables reqwest

mmap-async-tokio = __async

Enables tokio-async of fmmap

s3-async-native = __async

Enables use-tokio-native-tls of rust-s3

s3-async-rustls = __async

Enables tokio-rustls-tls of rust-s3

aws-s3-async = __async

Enables aws-sdk-s3

TODO: determine how we want to handle compression in async & sync environments

tilejson

Enables serde, serde_json, and tilejson

reqwest-default

Forward some of the common features to reqwest dependency

Enables optional reqwest

reqwest-native-tls

Enables native-tls of optional reqwest

reqwest:

Enables native-tls specific functionality not available by default.

reqwest-rustls-tls

Enables rustls-tls of optional reqwest

reqwest-rustls-tls-native-roots

Enables rustls-tls-native-roots of optional reqwest

reqwest-rustls-tls-webpki-roots

Enables rustls-tls-webpki-roots of optional reqwest

__async aws-s3-async? http-async? mmap-async-tokio? s3-async-native? s3-async-rustls?

Internal features, do not use

Enables tokio, tokio of async-compression

Affects pmtiles::async_reader, pmtiles::cache