Skip to content

Commit

Permalink
Update README with imports
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBossbaly committed May 10, 2024
1 parent 9bc84f6 commit 2d43d94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ multiple datetime formats, etc).
//!
//! This example shows how to filter trains based on the route name and then
//! determine what station the train is currently in route to.
use amtrak_api::{Client, TrainStatus};
use chrono::{Local, Utc};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
Client::new()
Expand Down

0 comments on commit 2d43d94

Please sign in to comment.