Skip to content

Commit

Permalink
build(deps): update base64 requirement from 0.21 to 0.22 (#458)
Browse files Browse the repository at this point in the history
* build(deps): update base64 requirement from 0.21 to 0.22

Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64) to permit the latest version.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](marshallpierce/rust-base64@v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: base64
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* use utc instead of local timestamps in tests

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dominic <[email protected]>
  • Loading branch information
dependabot[bot] and msrd0 authored Apr 12, 2024
1 parent 5c354e9 commit 8953f66
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ serde_json = "1.0"
thiserror = "1.0.2"

# non-feature optional dependencies
base64 = { version = "0.21", optional = true }
base64 = { version = "0.22", optional = true }
gotham_middleware_diesel = { version = "0.5.1", optional = true }
gotham_restful_redoc = { version = "0.2.1", path = "./redoc", optional = true }
jsonwebtoken = { version = "8.0", default-features = false, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion redoc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ repository = "https://github.com/msrd0/gotham_restful"
include = ["/src/lib.rs", "/src/script.min.js", "/LICENSE"]

[dependencies]
base64 = "0.21"
base64 = "0.22"
either = "1.6"
sha2 = "0.10"
3 changes: 2 additions & 1 deletion tests/async_methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ async fn state_test(state: &mut State) -> Raw<&'static [u8]> {

#[test]
fn async_methods() {
_ = SimpleLogger::new().env().with_local_timestamps().init();
// TODO no idea why with_local_timestamps fails here
_ = SimpleLogger::new().env().with_utc_timestamps().init();

let server = TestServer::new(build_simple_router(|router| {
router.resource::<FooResource>("foo");
Expand Down
3 changes: 2 additions & 1 deletion tests/sync_methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ fn delete(_id: u64) -> Raw<&'static [u8]> {

#[test]
fn sync_methods() {
_ = SimpleLogger::new().env().with_local_timestamps().init();
// TODO no idea why with_local_timestamps fails here
_ = SimpleLogger::new().env().with_utc_timestamps().init();

let server = TestServer::new(build_simple_router(|router| {
router.resource::<FooResource>("foo");
Expand Down

0 comments on commit 8953f66

Please sign in to comment.