# 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 = "railway-core" version = "0.3.0" authors = ["Julian Schmidhuber "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Core type definitions of the Railway backend" readme = "README.md" keywords = [ "railway-backend", "train", "public-transport", ] license = "AGPL-3.0-or-later OR EUPL-1.2" repository = "https://gitlab.com/schmiddi-on-mobile/railway-backend" [features] polylines = ["geojson"] reqwest-requester = ["reqwest"] rt-multi-thread = [] serde = [ "dep:serde", "chrono/serde", ] [lib] name = "railway_core" path = "src/lib.rs" [dependencies.async-trait] version = "0.1" [dependencies.chrono] version = "0.4" [dependencies.chrono-tz] version = "0.10" [dependencies.geojson] version = "0.24" optional = true [disabled.dependencies.hyper] version = "1.8" optional = true [disabled.dependencies.hyper-rustls] version = "0.27" features = ["http1"] optional = true [dependencies.log] version = "0.4" [dependencies.reqwest] version = "0.12" optional = true [disabled.dependencies.rustls] version = "0.23" optional = true [disabled.dependencies.rustls-pemfile] version = "2.2" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.url] version = "2.5"