Cargo Features

[dependencies]
rtz = { version = "0.5.3", default-features = false, features = ["full", "double-precision", "unsimplified", "extrasimplified", "self-contained", "owned-decode", "tz-ned", "tz-osm", "admin-osm", "cli", "web", "wasm"] }
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-core

unsimplified

Enables unsimplified of rtz-core

extrasimplified

Enables extrasimplified of rtz-core

self-contained full?

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 = chrono, config, full, log, rocket, rocket_cors, rocket_okapi, schemars, simple_logger, tokio

Affects rtz::web

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

Affects rtz::wasm

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.

clap cli

Enables clap

cli

chrono-tz tz-osm?

Enables chrono-tz ^0.8.3

tz-osm

chrono tz-osm? web?
tokio web?

Enables tokio

web

rocket web?
rocket_okapi web?
rocket_cors web?
config web?

Enables config ^0.13.3

log web?
simple_logger web?

Enables simple_logger ^4.2.0

schemars web?
wasm-bindgen wasm?

Enables wasm-bindgen

wasm

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