-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
49 lines (41 loc) · 1.06 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "amtrak-api"
version = "0.2.0"
edition = "2021"
description = "Amtrak Async Rust API Client"
keywords = ["amtrak", "api", "public-transit", "train"]
readme = "README.md"
repository = "https://github.com/StefanBossbaly/amtrak-api/"
authors = ["Stefan Bossbaly <[email protected]>"]
license = "MIT"
include = [
"/src/**/*.rs",
"/examples/*.rs",
"/README.md",
"/LICENSE"
]
[features]
serde_debugging = ["dep:serde_path_to_error"]
[dependencies]
reqwest = { version = "0.12.8", features = ["json"] }
serde_json = "1.0.128"
serde = { version = "1.0.210", features = ["derive"] }
chrono = { version = "0.4", features = ["serde"] }
thiserror = "1.0.64"
serde_path_to_error = { version = "0.1.16", optional = true }
[dev-dependencies]
mockito = "1.5.0"
tokio = { version = "1.40.0", features = ["full"] }
anyhow = "1.0.89"
[[example]]
name = "filter_stations"
crate-type = ["bin"]
[[example]]
name = "filter_trains"
crate-type = ["bin"]
[[example]]
name = "single_station"
crate-type = ["bin"]
[[example]]
name = "single_train"
crate-type = ["bin"]