# 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" name = "hafas-rs" version = "0.2.3" authors = [ "Julian Schmidhuber ", "Yureka ", ] description = "Implementation of a HAFAS client in Rust" readme = "README.md" keywords = [ "public-transport", "hafas", ] license = "AGPL-3.0-or-later OR EUPL-1.2" repository = "https://gitlab.com/schmiddi-on-mobile/hafas-rs" [lib] crate-type = [ "cdylib", "rlib", ] [[bin]] name = "hafas-rest-server" path = "src/rest-server/main.rs" required-features = ["rest-server"] [dependencies.anyhow] version = "1.0" optional = true [dependencies.async-trait] version = "0.1" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.chrono-tz] version = "0.8" [dependencies.env_logger] version = "0.10" optional = true [dependencies.geojson] version = "0.24" optional = true [dependencies.hex] version = "0.4.3" [dependencies.hyper] version = "0.14" optional = true [dependencies.hyper-rustls] version = "0.24" features = ["http1"] optional = true [dependencies.js-sys] version = "0.3" optional = true [dependencies.log] version = "0.4" [dependencies.md-5] version = "0.10" [dependencies.polyline] version = "0.10" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_repr] version = "0.1" [dependencies.serde_urlencoded] version = "0.7" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.37" features = [ "macros", "rt-multi-thread", ] optional = true [dependencies.wasm-bindgen] version = "0.2" optional = true [dependencies.wasm-bindgen-futures] version = "0.4" optional = true [dependencies.web-sys] version = "0.3.69" features = [ "Headers", "Request", "RequestInit", "RequestMode", "Response", "Window", ] optional = true [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.tokio] version = "1.37" features = [ "rt-multi-thread", "macros", ] [features] all-profiles = [ "db-profile", "vbb-profile", "oebb-profile", "nahsh-profile", "vvt-profile", "pkp-profile", "irish-rail-profile", "mobiliteit-lu-profile", "dart-profile", "rmv-profile", "cmta-profile", "sbahn-muenchen-profile", "saarvv-profile", "cfl-profile", "nvv-profile", "mobil-nrw-profile", "vsn-profile", "vgi-profile", "vbn-profile", "vrn-profile", "rsag-profile", "vmt-profile", "vos-profile", "avv-profile", "rejseplanen-profile", "ooevv-profile", "salzburg-profile", "verbundlinie-profile", "svv-profile", "vor-profile", "vkg-profile", "vvv-profile", "bls-profile", ] avv-profile = [] bart-profile = [] bls-profile = [] cfl-profile = [] cmta-profile = [] dart-profile = [] db-busradar-nrw-profile = [] db-profile = [] default = [ "hyper-requester", "all-profiles", "polylines", ] hyper-requester = [ "hyper-rustls", "hyper", ] insa-profile = [] irish-rail-profile = [] js-error = ["wasm-bindgen"] js-fetch-requester = [ "js-error", "web-sys", "wasm-bindgen-futures", ] mobil-nrw-profile = [] mobiliteit-lu-profile = [] nahsh-profile = [] nvv-profile = [] oebb-profile = [] ooevv-profile = [] pkp-profile = [] polylines = [ "polyline", "geojson", ] rejseplanen-profile = [] rest-server = [ "hyper-requester", "all-profiles", "anyhow", "hyper", "hyper/server", "tokio", "serde_urlencoded", "env_logger", "rt-multi-thread", ] rmv-profile = [] rsag-profile = [] rt-multi-thread = [] saarvv-profile = [] salzburg-profile = [] sbahn-muenchen-profile = [] svv-profile = [] vbb-profile = [] vbn-profile = [] verbundlinie-profile = [] vgi-profile = [] vkg-profile = [] vmt-profile = [] vor-profile = [] vos-profile = [] vrn-profile = [] vsn-profile = [] vvt-profile = [] vvv-profile = [] wasm-bindings = [ "wasm-bindgen/serde-serialize", "js-sys", "chrono/wasmbind", "wasm-bindgen-futures", ] zvv-profile = []