Skip to content

Commit

Permalink
chore: address lib.rs suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodie committed May 1, 2024
1 parent 91c9ced commit c0ffeee
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ authors = [
]

description = "Parsing ISO8601 dates using nom"
keywords = [ "iso8601", "date-time", "parser", "nom" ]
categories = [ "parser-implementations", "date-and-time" ]

repository = "https://github.com/badboy/iso8601"
documentation = "https://docs.rs/iso8601/"
Expand All @@ -27,4 +29,4 @@ serde_json = "1.0"
[features]
default = ["std"]
std = ["nom/std"]
chrono = ["dep:chrono", "num-traits"]
chrono = ["dep:chrono", "dep:num-traits"]
2 changes: 1 addition & 1 deletion src/date.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use core::str::FromStr;
use alloc::string::String;
use core::str::FromStr;

use crate::parsers;

Expand Down
2 changes: 1 addition & 1 deletion src/datetime.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use core::str::FromStr;
use alloc::string::String;
use core::str::FromStr;

use crate::{parsers, Date, Time};

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ mod datetime;
pub use datetime::{datetime, DateTime};

mod duration;
pub use duration::{duration,Duration};
pub use duration::{duration, Duration};

#[cfg(feature = "chrono")]
mod chrono;
Expand Down
2 changes: 1 addition & 1 deletion src/time.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use core::str::FromStr;
use alloc::string::String;
use core::str::FromStr;

use crate::parsers;

Expand Down

0 comments on commit c0ffeee

Please sign in to comment.