Cargo Features

[dependencies]
rtz = { version = "0.7.1", default-features = false, features = ["full", "double-precision", "unsimplified", "extrasimplified", "self-contained", "owned-decode", "tz-ned", "tz-osm", "admin-osm", "cli", "web", "wasm", "force-rebuild"] }
default = cli

The cli feature is set by default whenever rtz is added without default-features = false somewhere in the dependency tree.

full web? = admin-osm, self-contained, tz-ned, tz-osm

Enables full of rtz-build and rtz-core

double-precision

Enables double-precision of rtz-build and rtz-core

unsimplified

Enables unsimplified of rtz-core

extrasimplified

Enables extrasimplified of rtz-core

self-contained full? = include_bytes_aligned

Enables self-contained of rtz-build and rtz-core

Affects shared::decode_binary_data

owned-decode
tz-ned full?

Enables tz-ned of rtz-build and rtz-core

Affects tz::ned, shared::NedTimezoneResponse1, wasm::get_timezone_ned

tz-osm full? = chrono, chrono-tz

Enables tz-osm of rtz-build and rtz-core

Affects tz::osm, shared::OsmTimezoneResponse1, wasm::get_timezone_osm

admin-osm full?

Enables admin-osm of rtz-build and rtz-core

Affects admin::osm, shared::OsmAdminResponse1, wasm::get_admin_osm

cli default = clap

Required by the binary

web = axum, axum-insights, chrono, config, full, http, http-body-util, hyper, log, schemars, simple_logger, tokio, tower, tower-http, tracing, utoipa, utoipa-rapidoc, utoipa-redoc, utoipa-swagger-ui

Affects rtz::web

wasm = js-sys, wasm-bindgen, wasm-bindgen-futures, wee_alloc

Affects rtz::wasm

force-rebuild build

Enables force-rebuild of rtz-build

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

include_bytes_aligned self-contained?
clap cli

Enables clap

cli

chrono-tz tz-osm?

Enables chrono-tz ^0.9.0

tz-osm

chrono tz-osm? web?
tokio web?

Enables tokio

web

config web?
log web?
simple_logger web?
schemars web?
axum web?
hyper web?
tower web?

Enables tower ^0.4.13

tower-http web?

Enables tower-http ^0.5.2

http web?
http-body-util web?
utoipa web?

Enables utoipa ^4.0.0

utoipa-swagger-ui web?

Enables utoipa-swagger-ui ^7.1.0

utoipa-redoc web?

Enables utoipa-redoc ^4.0.0

utoipa-rapidoc web?

Enables utoipa-rapidoc ^4.0.0

axum-insights web?

Enables axum-insights

telemetry

tracing web?
wasm-bindgen wasm?

Enables wasm-bindgen

wasm

wasm-bindgen-futures wasm?
wee_alloc wasm?
js-sys wasm?