From cf170f4d394ae8c7bd775a19795c1e95af42e8fd Mon Sep 17 00:00:00 2001 From: Asmir Avdicevic Date: Mon, 22 Jul 2024 15:23:18 +0200 Subject: [PATCH] cleanup --- iroh-blobs/Cargo.toml | 6 +++--- iroh-docs/src/engine/gossip.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iroh-blobs/Cargo.toml b/iroh-blobs/Cargo.toml index 58ca637187..46d6d31770 100644 --- a/iroh-blobs/Cargo.toml +++ b/iroh-blobs/Cargo.toml @@ -29,7 +29,7 @@ hashlink = { version = "0.9.0", optional = true } hex = "0.4.3" iroh-base = { version = "0.20.0", features = ["redb"], path = "../iroh-base" } iroh-io = { version = "0.6.0", features = ["stats"] } -iroh-metrics = { version = "0.20.0", path = "../iroh-metrics", optional = true } +iroh-metrics = { version = "0.20.0", path = "../iroh-metrics", default-features = false } iroh-net = { version = "0.20.0", path = "../iroh-net" } num_cpus = "1.15.0" parking_lot = { version = "0.12.1", optional = true } @@ -73,10 +73,10 @@ package = "iroh-quinn" version = "0.10" [features] -default = ["fs-store", "metrics"] +default = ["fs-store"] downloader = ["dep:parking_lot", "tokio-util/time", "dep:hashlink"] fs-store = ["dep:reflink-copy", "redb", "dep:redb_v1", "dep:tempfile"] -metrics = ["dep:iroh-metrics"] +metrics = ["iroh-metrics/metrics"] redb = ["dep:redb"] [package.metadata.docs.rs] diff --git a/iroh-docs/src/engine/gossip.rs b/iroh-docs/src/engine/gossip.rs index 71ed8884f8..210356c969 100644 --- a/iroh-docs/src/engine/gossip.rs +++ b/iroh-docs/src/engine/gossip.rs @@ -16,8 +16,8 @@ use tokio_stream::{ }; use tracing::{debug, error, trace, warn}; -use crate::{actor::SyncHandle, ContentStatus, NamespaceId}; use crate::metrics::Metrics; +use crate::{actor::SyncHandle, ContentStatus, NamespaceId}; use super::live::{Op, ToLiveActor};