Misc updates - #33
Open
BlackDex wants to merge 17 commits into
Open
Conversation
- Updated cron - `~0.9` > `~0.11` - Updated uuid - `~0.8` > `~1.0` - Remove `time` crate feature from `chrono` - Clippy fixes and use Rust 2021 edition - Added simple_job_tokio example which can be used to test async/await
I'm going to try and maintain this crate when i can. I will also publish this so it should be available to the rest of the world.
- Updated the dependency versioning so that a later version of uuid is able to be used. - Updated the documentation to point to this repo. - Applied an upstream PR to this repo: lholden#21
- Updated cron to v0.12.0 - Set chrono to a minimum of v0.4.20 to mitigate the CVE.
- Don't require Sync trait for job function (PR #1 - Thanks @mikel1703) - Added two other examples. One using threading, and one also using MPSC. - Added some clippy checks - Fixed some spelling errors
- Validated uuid v1.3.0 works - Used miri to check examples Added an `std::process::exit(0);` to produce a clean exit. - Set MSRV to v1.56.1 - Updated dev dependency of tokio to v1.25.0 or higher
- Set MSRV to v1.61.0 to match chrono's v0.4.34 MSRV - Updated dev dependency of tokio to v1.37.0 or higher - Several clippy check added - Fixed all clippy reported items - Set JobScheduler::new() as `const fn` - Updated examples to use a `log` function and always print the current thread id - Added a very simple hash to better differentiate the tokio 5th second example
- Updated crates - Some clippy lint fixes
All the changes should be backwards compatible with previous versions, except for crate updates of course. - Set MSRV to v1.65.0 to match the lowest dependency - Updated dependencies to the lowest possible version - Added an option to use a different timezone, default is still UTC - Added an example test for the timezone functionality Signed-off-by: BlackDex <black.dex@gmail.com>
- Should be backwards compatible with previous versions - Set MSRV to v1.83.0 which supports const `Option::<T>` - Updated dependencies - Fixed all tests, they were all ignored before - Fixed a possible panic - Used `pedantic` clippy and fixed those items - Added some extra lints and adjusted where needed - Only include files needed in the crate package Signed-off-by: BlackDex <black.dex@gmail.com>
Signed-off-by: BlackDex <black.dex@gmail.com>
- Added pre-commit checks - Added GitHub Workflow checks - Adjusted fmt config - Increased version number There should be no breaking changes and should be compatible with the previous version Also checked both features with miri again locally, no issues. Signed-off-by: BlackDex <black.dex@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Croner
Some aditional
cronerfixesAdd code check tooling
Also checked both features with miri again locally, no issues.
Release
There should be no breaking changes and should be compatible with the previous version