# 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.80" name = "rtz" version = "0.7.1" authors = ["Aaron Roney "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A tool to easily work with geo lookups via a binary, a library, or a server." homepage = "https://github.com/twitchax/rtz" readme = "README.md" keywords = [ "cli", "time", "zone", "timezone", "geospatial", ] categories = ["command-line-utilities"] license = "MIT" repository = "https://github.com/twitchax/rtz" [package.metadata."docs.rs"] features = [ "tz-ned", "tz-osm", "admin-osm", ] [lib] name = "rtzlib" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [[bin]] name = "rtz" path = "src/bin.rs" required-features = ["cli"] [[bench]] name = "benches" path = "benches/benches.rs" harness = false [dependencies.anyhow] version = "1.0.72" features = ["backtrace"] [dependencies.async-trait] version = "0.1.71" [dependencies.axum] version = "0.7.5" features = ["macros"] optional = true [dependencies.axum-insights] version = "0.4.0" optional = true [dependencies.bincode] version = "2.0.0-rc.3" features = [ "alloc", "serde", ] default-features = false [dependencies.chashmap] version = "2.2.2" [dependencies.chrono] version = "0.4.19" features = ["serde"] optional = true [dependencies.chrono-tz] version = "0.9.0" features = ["serde"] optional = true [dependencies.clap] version = "4.0.29" features = ["derive"] optional = true [dependencies.config] version = "0.14.0" optional = true [dependencies.geo] version = "0.28.0" [dependencies.geojson] version = "0.24.1" [dependencies.getrandom] version = "0.2" features = ["js"] [dependencies.http] version = "1.1.0" optional = true [dependencies.http-body-util] version = "0.1.2" optional = true [dependencies.hyper] version = "1.4.1" features = ["full"] optional = true [dependencies.include_bytes_aligned] version = "0.1.3" optional = true [dependencies.js-sys] version = "0.3.61" optional = true [dependencies.log] version = "0.4.8" features = ["release_max_level_info"] optional = true [dependencies.rand] version = "0.8.5" [dependencies.rayon] version = "1.7.0" [dependencies.rtz-core] version = "0.1.4" [dependencies.schemars] version = "0.8.6" features = ["chrono"] optional = true [dependencies.serde] version = "1.0.126" [dependencies.serde_json] version = "1.0.64" [dependencies.simple_logger] version = "5.0.0" optional = true [dependencies.tokio] version = "1.29.1" features = [ "rt", "macros", "signal", "parking_lot", "rt-multi-thread", ] optional = true [dependencies.tower] version = "0.4.13" features = ["full"] optional = true [dependencies.tower-http] version = "0.5.2" features = ["full"] optional = true [dependencies.tracing] version = "0.1.40" optional = true [dependencies.utoipa] version = "4.0.0" features = ["axum_extras"] optional = true [dependencies.utoipa-rapidoc] version = "4.0.0" features = ["axum"] optional = true [dependencies.utoipa-redoc] version = "4.0.0" features = ["axum"] optional = true [dependencies.utoipa-swagger-ui] version = "7.1.0" features = [ "axum", "vendored", ] optional = true [dependencies.wasm-bindgen] version = "0.2.84" optional = true [dependencies.wasm-bindgen-futures] version = "0.4.34" optional = true [dependencies.wee_alloc] version = "0.4.5" optional = true [dev-dependencies.cities-json] version = "0.5.5" [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.futures] version = "0.3.28" [dev-dependencies.pretty_assertions] version = "1.4.0" [build-dependencies.rtz-build] version = "0.2.6" [features] admin-osm = [ "rtz-core/admin-osm", "rtz-build/admin-osm", ] cli = ["clap"] default = ["cli"] double-precision = [ "rtz-core/double-precision", "rtz-build/double-precision", ] extrasimplified = ["rtz-core/extrasimplified"] force-rebuild = ["rtz-build/force-rebuild"] full = [ "tz-ned", "tz-osm", "admin-osm", "self-contained", "rtz-core/full", "rtz-build/full", ] owned-decode = [] self-contained = [ "rtz-core/self-contained", "rtz-build/self-contained", "include_bytes_aligned", ] tz-ned = [ "rtz-core/tz-ned", "rtz-build/tz-ned", ] tz-osm = [ "rtz-core/tz-osm", "rtz-build/tz-osm", "chrono-tz", "chrono", ] unsimplified = ["rtz-core/unsimplified"] wasm = [ "wasm-bindgen", "wasm-bindgen-futures", "wee_alloc", "js-sys", ] web = [ "full", "tokio", "config", "log", "simple_logger", "schemars", "chrono", "axum", "hyper", "tower", "tower-http", "http", "http-body-util", "utoipa", "utoipa-swagger-ui", "utoipa-redoc", "utoipa-rapidoc", "axum-insights", "tracing", ] [target.'cfg(not(target_family = "wasm"))'.dependencies.reqwest] version = "0.12.5" features = ["blocking"] [target.'cfg(not(target_family = "wasm"))'.dependencies.zip] version = "2.1.6" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(wasm)"]