Skip to content

Commit be945ef

Browse files
Update hmac requirement from 0.11.0 to 0.12.1 (#27)
* Update sha2 requirement from 0.9.5 to 0.10.6 Updates the requirements on [sha2](https://github.com/RustCrypto/hashes) to permit the latest version. - [Release notes](https://github.com/RustCrypto/hashes/releases) - [Commits](https://github.com/RustCrypto/hashes/commits/sha2-v0.10.6) --- updated-dependencies: - dependency-name: sha2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Update hmac requirement from 0.11.0 to 0.12.1 Updates the requirements on [hmac](https://github.com/RustCrypto/MACs) to permit the latest version. - [Release notes](https://github.com/RustCrypto/MACs/releases) - [Commits](RustCrypto/MACs@hmac-v0.11.0...hmac-v0.12.1) --- updated-dependencies: - dependency-name: hmac dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * build: changes for hmac 0.12 Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luis Moreno <[email protected]>
1 parent b0e7616 commit be945ef

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

typesense/Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ derive = ["typesense_derive"]
1818
crate-type = ["cdylib", "rlib"]
1919

2020
[dependencies]
21-
async-trait = "0.1.50"
22-
base64 = "0.13.0"
23-
hmac = "0.11.0"
24-
http = "0.2.4"
21+
async-trait = "0.1"
22+
base64 = "0.13"
23+
hmac = "0.12"
24+
http = "0.2"
2525
serde = { version = "1", features = ["derive"] }
2626
serde_json = "1"
27-
sha2 = "0.9.5"
28-
thiserror = "1.0.24"
27+
sha2 = "0.10"
28+
thiserror = "1"
2929
typesense_derive = { version = "0.1.0", path="../typesense_derive", optional = true }
3030
typesense_codegen = { version = "0.23.0", path="../typesense_codegen" }
3131

@@ -34,17 +34,17 @@ serde_json = "1.0"
3434
trybuild = "1.0.42"
3535

3636
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
37-
hyper = { version = "0.14.7", features = ["http1", "http2", "client"] }
37+
hyper = { version = "0.14", features = ["http1", "http2", "client"] }
3838
hyper-tls = { version = "0.5.0", optional = true }
3939

4040
[target.'cfg(target_arch = "wasm32")'.dependencies]
41-
js-sys = { version = "0.3.50" }
42-
wasm-bindgen = { version = "0.2.73" }
43-
wasm-bindgen-futures = { version = "0.4.23" }
44-
web-sys = { version = "0.3.50", features = ["Headers", "Response", "Request", "RequestInit", "RequestMode", "Window", "WorkerGlobalScope"] }
41+
js-sys = { version = "0.3" }
42+
wasm-bindgen = { version = "0.2" }
43+
wasm-bindgen-futures = { version = "0.4" }
44+
web-sys = { version = "0.3", features = ["Headers", "Response", "Request", "RequestInit", "RequestMode", "Window", "WorkerGlobalScope"] }
4545

4646
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
47-
tokio = { version = "1.5.0", features = ["macros", "rt", "rt-multi-thread"] }
47+
tokio = { version = "1.5", features = ["macros", "rt", "rt-multi-thread"] }
4848

4949
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
5050
console_error_panic_hook = "0.1.6"

typesense/src/client/keys.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! More info [here](https://typesense.org/docs/0.20.0/api/api-keys.html).
44
5-
use hmac::{Hmac, Mac, NewMac};
5+
use hmac::{Hmac, Mac};
66
use serde::{Deserialize, Serialize};
77
use sha2::Sha256;
88
use typesense_codegen::models::{ApiKey, ApiKeySchema, ApiKeysResponse};

0 commit comments

Comments
 (0)