fix some dependabot alter
MODIFY
Cargo.lock
Cargo.lock
@@ -278,9 +278,9 @@ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
[[package]]
name = "ascii"
-version = "0.8.7"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97be891acc47ca214468e09425d02cef3af2c94d0d82081cd02061f996802f14"
+checksum = "bbf56136a5198c7b01a49e3afcbef6cf84597273d298f54432926024107b0109"
[[package]]
name = "asn1_der"
@@ -1063,9 +1063,9 @@ dependencies = [
[[package]]
name = "chunked_transfer"
-version = "0.3.1"
+version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "498d20a7aaf62625b9bf26e637cf7736417cde1d0c99f1d04d1170229a85cf87"
+checksum = "fff857943da45f546682664a79488be82e69e43c1a7a2307679ab9afb3a66d2e"
[[package]]
name = "cipher"
@@ -7874,9 +7874,9 @@ dependencies = [
[[package]]
name = "rust-embed"
-version = "5.9.0"
+version = "6.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fe1fe6aac5d6bb9e1ffd81002340363272a7648234ec7bdfac5ee202cb65523"
+checksum = "9a17e5ac65b318f397182ae94e532da0ba56b88dd1200b774715d36c4943b1c3"
dependencies = [
"rust-embed-impl",
"rust-embed-utils",
@@ -7885,9 +7885,9 @@ dependencies = [
[[package]]
name = "rust-embed-impl"
-version = "5.9.0"
+version = "6.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ed91c41c42ef7bf687384439c312e75e0da9c149b0390889b94de3c7d9d9e66"
+checksum = "94e763e24ba2bf0c72bc6be883f967f794a019fafd1b86ba1daff9c91a7edd30"
dependencies = [
"proc-macro2 1.0.36",
"quote 1.0.17",
@@ -7898,10 +7898,11 @@ dependencies = [
[[package]]
name = "rust-embed-utils"
-version = "5.1.0"
+version = "7.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a512219132473ab0a77b52077059f1c47ce4af7fbdc94503e9862a34422876d"
+checksum = "756feca3afcbb1487a1d01f4ecd94cf8ec98ea074c55a69e7136d29fb6166029"
dependencies = [
+ "sha2 0.9.9",
"walkdir",
]
@@ -11280,15 +11281,15 @@ dependencies = [
[[package]]
name = "tiny_http"
-version = "0.6.4"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e22cb179b63e5fc2d0b5be237dc107da072e2407809ac70a8ce85b93fe8f562"
+checksum = "9ce51b50006056f590c9b7c3808c3bd70f0d1101666629713866c227d6e58d39"
dependencies = [
"ascii",
"chrono",
"chunked_transfer",
"log 0.4.16",
- "url 1.7.2",
+ "url 2.2.2",
]
[[package]]

MODIFY
cmd/faucet/Cargo.toml
cmd/faucet/Cargo.toml
@@ -8,14 +8,14 @@ edition = "2021"
[dependencies]
anyhow = "1.0.41"
-tiny_http = "0.6"
+tiny_http = "0.8.2"
futures = "0.3.12"
hex = { version = "0.4.3", default-features = false }
tokio = {version = "^1", features = ["full"] }
tokio-executor = { version = "0.2.0-alpha.6", features = ["blocking"] }
futures-timer = "3.0"
-ascii = "0.8"
-rust-embed = "5.9.0"
+ascii = "1.0.0"
+rust-embed = "6.3.0"
serde = { version = "1.0.130" }
serde_json = { version="1.0", features = ["arbitrary_precision"]}
once_cell = "1.12.0"

MODIFY
cmd/faucet/src/web.rs
cmd/faucet/src/web.rs
@@ -22,7 +22,7 @@ struct Asset;
fn index_html() -> String {
let index_html = Asset::get("index.html").unwrap();
- std::str::from_utf8(index_html.as_ref())
+ std::str::from_utf8(index_html.data.as_ref())
.unwrap()
.to_string()
}

MODIFY
commons/metrics/Cargo.toml
commons/metrics/Cargo.toml
@@ -10,7 +10,7 @@ description = "Starcoin metrics"
[dependencies]
anyhow = "1.0.41"
futures = "0.3.12"
-hyper = { version = "0.14", features = ["full"]}
+hyper = { version = "0.14.12", features = ["full"]}
starcoin-logger = { path = "../logger" }
prometheus = { version = "0.13.0", default-features = false, features =["push"] }
serde_json = { version="1.0", features = ["arbitrary_precision"]}

fix some dependabot alter (#3485)