Skip to content

Commit

Permalink
fix: faststr compile needs to enable serde feature && update dep to l…
Browse files Browse the repository at this point in the history
…atest
  • Loading branch information
PureWhiteWu committed Aug 29, 2024
1 parent 27bb5b0 commit d1cdef5
Show file tree
Hide file tree
Showing 10 changed files with 302 additions and 247 deletions.
523 changes: 289 additions & 234 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ chrono = { version = "0.4", default-features = false, features = [
clap = "4"
colored = "2"
cookie = "0.18"
dashmap = "5"
dashmap = "6"
dirs = "5"
faststr = "0.2.19"
faststr = { version = "0.2.21", features = ["serde"] }
futures = "0.3"
futures-util = "0.3"
flate2 = "1"
Expand All @@ -77,7 +77,7 @@ matchit = "0.8"
memchr = "2"
mime = "0.3"
mime_guess = { version = "2", default-features = false }
mockall = "0.12"
mockall = "0.13"
mockall_double = "0.3"
mur3 = "0.1"
nix = "0.29"
Expand Down Expand Up @@ -107,7 +107,7 @@ simdutf8 = "0.1"
socket2 = "0.5"
sonic-rs = "0.3"
syn = "2"
sysinfo = "0.30"
sysinfo = "0.31"
tempfile = "3"
thiserror = "1"
tokio = "1"
Expand All @@ -116,7 +116,7 @@ tokio-test = "0.4"
tokio-util = "0.7"
tonic = "0.12"
tonic-web = "0.12"
tower = "0.4"
tower = "0.5"
tracing = "0.1"
tracing-subscriber = "0.3"
update-informer = "1"
Expand Down
2 changes: 1 addition & 1 deletion benchmark/src/perf/cpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pub async fn record_usage(cpu_usage_list: &mut Vec<f32>, cancel: CancellationTok
loop {
tokio::select! {
_ = tokio::time::sleep(DEFAULT_INTERVAL) => {
system.refresh_process_specifics(pid, ProcessRefreshKind::new().with_cpu());
system.refresh_processes_specifics(sysinfo::ProcessesToUpdate::Some(&[pid]), ProcessRefreshKind::new().with_cpu());
let cpu_usage = system
.process(pid)
.unwrap()
Expand Down
2 changes: 1 addition & 1 deletion benchmark/src/perf/mem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub async fn record_usage(mem_usage_list: &mut Vec<u64>, cancel: CancellationTok
loop {
tokio::select! {
_ = tokio::time::sleep(DEFAULT_INTERVAL) => {
system.refresh_process_specifics(pid, ProcessRefreshKind::new().with_memory());
system.refresh_processes_specifics(sysinfo::ProcessesToUpdate::Some(&[pid]), ProcessRefreshKind::new().with_memory());
let mem_usage = system
.process(pid)
.unwrap()
Expand Down
2 changes: 1 addition & 1 deletion volo-build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo-build"
version = "0.10.13"
version = "0.10.14"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion volo-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo-cli"
version = "0.10.2"
version = "0.10.3"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion volo-grpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo-grpc"
version = "0.10.3"
version = "0.10.4"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion volo-http/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo-http"
version = "0.2.13"
version = "0.2.14"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion volo-thrift/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo-thrift"
version = "0.10.3"
version = "0.10.4"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion volo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo"
version = "0.10.2"
version = "0.10.3"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down

0 comments on commit d1cdef5

Please sign in to comment.