Skip to content

Commit

Permalink
Dep updates and Clippy fixes (#101)
Browse files Browse the repository at this point in the history
- Updated `chrono-tz` to version 0.6, this fully removes all time dependencies.
- Update `once_cell` to version 1.10, no major changes done, and works fine.
- Updated lint deny to new format
- Added clippy allow for needless_doctest_main

This will fully remove any (dev-)dependency for the time crate and it
also gets rid of warnings generated during `cargo test` or `cargo clippy`
  • Loading branch information
BlackDex authored Mar 30, 2022
1 parent c185bce commit 26a4cb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name = "cron"
[dependencies]
chrono = { version = "~0.4", default-features = false, features = ["clock"] }
nom = "~7"
once_cell = "1.5.2"
once_cell = "1.10"

[dev-dependencies]
chrono-tz = "0.4"
chrono-tz = "~0.6"
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![deny(rust_2018_idioms)]
#![deny(broken_intra_doc_links)]
#![deny(rustdoc::broken_intra_doc_links)]

#![allow(clippy::needless_doctest_main)]
//! A cron expression parser and schedule explorer
//! # Example
//! ```
Expand Down

0 comments on commit 26a4cb7

Please sign in to comment.