Skip to content

Misc updates - #33

Open
BlackDex wants to merge 17 commits into
lholden:masterfrom
BlackDex:misc_updates
Open

Misc updates#33
BlackDex wants to merge 17 commits into
lholden:masterfrom
BlackDex:misc_updates

Conversation

@BlackDex

Copy link
Copy Markdown

Croner

Some aditional croner fixes

Add code check tooling

  • Added pre-commit checks
  • Added GitHub Workflow checks
  • Adjusted fmt config

Also checked both features with miri again locally, no issues.

Release

  • Increased version number
    There should be no breaking changes and should be compatible with the previous version

jjlin and others added 17 commits April 1, 2021 22:35
- 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants