Skip to content

Commit 14041c3

Browse files
committed
extern crate not needed anymore
1 parent 1d86565 commit 14041c3

4 files changed

Lines changed: 0 additions & 9 deletions

File tree

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ cargo add open-meteo-rs
1414
## Usage
1515

1616
```rust
17-
extern crate open_meteo_rs;
18-
1917
#[tokio::main]
2018
async fn main() {
2119
let client = open_meteo_rs::Client::new();

examples/archive.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
extern crate open_meteo_rs;
2-
31
use chrono::{TimeZone, Utc};
42

53
#[tokio::main]

examples/forecast.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#![allow(clippy::field_reassign_with_default)]
22

3-
extern crate open_meteo_rs;
4-
53
#[tokio::main]
64
async fn main() {
75
let client = open_meteo_rs::Client::new();

src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#![deny(clippy::all, clippy::perf, clippy::complexity, clippy::pedantic)]
22

3-
extern crate serde;
4-
extern crate serde_json;
5-
63
mod client;
74
mod errors;
85
mod location;

0 commit comments

Comments
 (0)