railway-api 0.3.1

High-level API for the Railway backend
Documentation
# 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-api"
version = "0.3.1"
authors = ["Julian Schmidhuber <railway-backend@schmidhuberj.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level API for 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]
all-providers = [
    "vbb-provider",
    "oebb-provider",
    "nahsh-provider",
    "vvt-provider",
    "irish-rail-provider",
    "mobiliteit-lu-provider",
    "rmv-provider",
    "sbahn-muenchen-provider",
    "saarvv-provider",
    "cfl-provider",
    "nvv-provider",
    "vsn-provider",
    "vgi-provider",
    "vbn-provider",
    "rsag-provider",
    "vmt-provider",
    "vos-provider",
    "avv-provider",
    "rejseplanen-provider",
    "ooevv-provider",
    "salzburg-provider",
    "verbundlinie-provider",
    "svv-provider",
    "vor-provider",
    "vkg-provider",
    "vvv-provider",
    "kvb-provider",
    "bart-provider",
    "ivb-provider",
    "resrobot-provider",
    "search-ch-provider",
    "transitous-provider",
    "db-provider",
]
avv-provider = [
    "rhafas",
    "rhafas/avv-profile",
]
bart-provider = [
    "rhafas",
    "rhafas/bart-profile",
]
bls-provider = [
    "rhafas",
    "rhafas/bls-profile",
]
cfl-provider = [
    "rhafas",
    "rhafas/cfl-profile",
]
cmta-provider = [
    "rhafas",
    "rhafas/cmta-profile",
]
dart-provider = [
    "rhafas",
    "rhafas/dart-profile",
]
db-provider = ["rdb"]
default = [
    "all-providers",
    "rcore/reqwest-requester",
]
insa-provider = [
    "rhafas",
    "rhafas/insa-profile",
]
irish-rail-provider = [
    "rhafas",
    "rhafas/irish-rail-profile",
]
ivb-provider = [
    "rhafas",
    "rhafas/ivb-profile",
]
kvb-provider = [
    "rhafas",
    "rhafas/kvb-profile",
]
mobil-nrw-provider = [
    "rhafas",
    "rhafas/mobil-nrw-profile",
]
mobiliteit-lu-provider = [
    "rhafas",
    "rhafas/mobiliteit-lu-profile",
]
nahsh-provider = [
    "rhafas",
    "rhafas/nahsh-profile",
]
nvv-provider = [
    "rhafas",
    "rhafas/nvv-profile",
]
oebb-provider = [
    "rhafas",
    "rhafas/oebb-profile",
]
ooevv-provider = [
    "rhafas",
    "rhafas/ooevv-profile",
]
pkp-provider = [
    "rhafas",
    "rhafas/pkp-profile",
]
polylines = [
    "rcore/polylines",
    "rhafas/polylines",
    "rsearchch/polylines",
    "rmotis/polylines",
    "rdb/polylines",
]
rejseplanen-provider = [
    "rhafas",
    "rhafas/rejseplanen-profile",
]
resrobot-provider = [
    "rhafas",
    "rhafas/resrobot-profile",
]
rmv-provider = [
    "rhafas",
    "rhafas/rmv-profile",
]
rsag-provider = [
    "rhafas",
    "rhafas/rsag-profile",
]
rt-multi-thread = [
    "rcore/rt-multi-thread",
    "rhafas/rt-multi-thread",
    "rsearchch/rt-multi-thread",
    "rmotis/rt-multi-thread",
    "rdb/rt-multi-thread",
]
saarvv-provider = [
    "rhafas",
    "rhafas/saarvv-profile",
]
salzburg-provider = [
    "rhafas",
    "rhafas/salzburg-profile",
]
sbahn-muenchen-provider = [
    "rhafas",
    "rhafas/sbahn-muenchen-profile",
]
search-ch-provider = ["rsearchch"]
svv-provider = [
    "rhafas",
    "rhafas/svv-profile",
]
transitous-provider = ["rmotis"]
vbb-provider = [
    "rhafas",
    "rhafas/vbb-profile",
]
vbn-provider = [
    "rhafas",
    "rhafas/vbn-profile",
]
verbundlinie-provider = [
    "rhafas",
    "rhafas/verbundlinie-profile",
]
vgi-provider = [
    "rhafas",
    "rhafas/vgi-profile",
]
vkg-provider = [
    "rhafas",
    "rhafas/vkg-profile",
]
vmt-provider = [
    "rhafas",
    "rhafas/vmt-profile",
]
vor-provider = [
    "rhafas",
    "rhafas/vor-profile",
]
vos-provider = [
    "rhafas",
    "rhafas/vos-profile",
]
vrn-provider = [
    "rhafas",
    "rhafas/vrn-profile",
]
vsn-provider = [
    "rhafas",
    "rhafas/vsn-profile",
]
vvt-provider = [
    "rhafas",
    "rhafas/vvt-profile",
]
vvv-provider = [
    "rhafas",
    "rhafas/vvv-profile",
]

[lib]
name = "railway_api"
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono-tz]
version = "0.10"

[dependencies.rapi-derive]
version = "0.3"
package = "railway-api-derive"

[dependencies.rcore]
version = "0.3"
package = "railway-core"

[dependencies.rdb]
version = "0.3"
optional = true
default-features = false
package = "railway-provider-db-movas"

[dependencies.rhafas]
version = "0.3"
optional = true
default-features = false
package = "railway-provider-hafas"

[dependencies.rmotis]
version = "0.4"
optional = true
default-features = false
package = "railway-provider-motis"

[dependencies.rsearchch]
version = "0.3"
optional = true
default-features = false
package = "railway-provider-search-ch"

[dependencies.url]
version = "2.5.7"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.toml]
version = "0.9"