Skip to content

Commit

Permalink
clean deps
Browse files Browse the repository at this point in the history
Signed-off-by: Ziy1-Tan <ajb459684460@gmail.com>
  • Loading branch information
Ziy1-Tan committed Sep 18, 2024
1 parent 156078c commit 5a8ef7b
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 131 deletions.
2 changes: 0 additions & 2 deletions vmm/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ serde = "1.0.139"
lazy_static = "1.4.0"
nix = "0.24.1"
anyhow = "1.0.66"
log = { version = "0.4.17", features = ["std"] }
ttrpc = { version = "0.7", features = ["async"] }
protobuf = "3.2"
async-trait = "0.1"
regex = "1.5.6"

tracing = "0.1.40"
tracing-opentelemetry = "0.21.0"
tracing-subscriber = { version = "0.3.18", features = ["json", "env-filter"] }

opentelemetry = { version = "0.20.0", features = ["rt-tokio"] }
Expand Down
1 change: 0 additions & 1 deletion vmm/common/src/tracer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ pub fn init_otlp_tracer(otlp_service_name: &str) -> anyhow::Result<Tracer> {
opentelemetry::KeyValue::new("service.name", otlp_service_name.to_string()),
])))
.install_batch(opentelemetry::runtime::Tokio)?;

Ok(tracer)
}

Expand Down
63 changes: 1 addition & 62 deletions vmm/sandbox/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions vmm/sandbox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ nix = "0.26"
rand = "0.8.4"
procfs = "0.13.0"
futures-util = "0.3.21"
env_logger = "0.9.0"
prost-types = "0.10.1"
time = "0.3.5"
log = { version = "0.4.17", features = ["std"] }
Expand All @@ -56,7 +55,6 @@ tracing-opentelemetry = "0.21.0"
tracing-subscriber = { version = "0.3.18", features = ["json", "env-filter"] }

opentelemetry = { version = "0.20.0", features = ["rt-tokio"] }
opentelemetry-otlp = "0.13.0"

[[bin]]
name = "qemu"
Expand Down
2 changes: 1 addition & 1 deletion vmm/sandbox/src/bin/cloud_hypervisor/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

use clap::Parser;
use opentelemetry::global;
use tracing::{info, info_span};
use tracing::info_span;
use tracing_subscriber::{layer::SubscriberExt, Layer, Registry};
use vmm_common::tracer::{init_logger_filter, init_otlp_tracer};
use vmm_sandboxer::{
Expand Down
61 changes: 0 additions & 61 deletions vmm/task/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions vmm/task/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ serde = { version = "1.0.133", features = ["derive"] }
serde_json = "1.0.74"
oci-spec = "0.5.4"
crossbeam = "0.8.1"
env_logger = "0.9.0"
lazy_static = "1.4.0"
netlink-sys = { version = "0.7.0", features = ["tokio_socket"] }
rtnetlink = "0.14.1"
Expand All @@ -32,7 +31,6 @@ tracing-opentelemetry = "0.21.0"
tracing-subscriber = { version = "0.3.18", features = ["json", "env-filter"] }

opentelemetry = { version = "0.20.0", features = ["rt-tokio"] }
opentelemetry-otlp = "0.13.0"

# Async dependencies
async-trait = { version = "0.1.51" }
Expand Down

0 comments on commit 5a8ef7b

Please sign in to comment.