Cargo Features

railway-core has no features set by default.

[dependencies]
railway-core = { version = "0.1.0", features = ["hyper-requester", "rt-multi-thread", "polylines", "serde"] }
hyper-requester = hyper, hyper-rustls, rustls, rustls-pemfile
rt-multi-thread
polylines = geojson

Affects journeys::JourneysOptions.polylines, refresh_journey::RefreshJourneyOptions.polylines, types::Leg.polyline

serde

Enables serde, serde of chrono

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.

geojson polylines?
hyper hyper-requester?

Enables hyper ^0.14

Hyper Requester

hyper-rustls hyper-requester?

Enables hyper-rustls ^0.24

rustls hyper-requester?

Enables rustls ^0.21

Note: A newer version is already available, but conflicts with the one usef for hyper

rustls-pemfile hyper-requester?