diff --git a/.github/workflows/hack.yml b/.github/workflows/hack.yml index bad16f03..8a4e8015 100644 --- a/.github/workflows/hack.yml +++ b/.github/workflows/hack.yml @@ -31,5 +31,5 @@ jobs: cargo install cargo-hack --locked - name: Hack Check - # TODO: remove the exclude when `cuprate-blockchain` errors are fixed - run: cargo hack --workspace --exclude cuprate-blockchain check --feature-powerset --no-dev-deps \ No newline at end of file + # TODO: remove the exclude when `cuprate-database` errors are fixed + run: cargo hack --workspace --exclude cuprate-database check --feature-powerset --no-dev-deps \ No newline at end of file diff --git a/net/epee-encoding/src/value.rs b/net/epee-encoding/src/value.rs index 094f0ef1..7fa2f9d3 100644 --- a/net/epee-encoding/src/value.rs +++ b/net/epee-encoding/src/value.rs @@ -1,7 +1,7 @@ //! This module contains a [`EpeeValue`] trait and //! impls for some possible base epee values. -use alloc::{string::String, vec::Vec}; +use alloc::{string::String, vec, vec::Vec}; use core::fmt::Debug; use bytes::{Buf, BufMut, Bytes, BytesMut}; diff --git a/storage/blockchain/Cargo.toml b/storage/blockchain/Cargo.toml index bab582d6..36e94fd0 100644 --- a/storage/blockchain/Cargo.toml +++ b/storage/blockchain/Cargo.toml @@ -15,7 +15,7 @@ default = ["heed", "service"] heed = ["cuprate-database/heed"] redb = ["cuprate-database/redb"] redb-memory = ["cuprate-database/redb-memory"] -service = ["dep:crossbeam", "dep:futures", "dep:tokio", "dep:tokio-util", "dep:tower", "dep:rayon"] +service = ["dep:crossbeam", "dep:futures", "dep:tokio", "dep:tokio-util", "dep:tower", "dep:rayon", "dep:thread_local"] [dependencies] # FIXME: @@ -38,7 +38,7 @@ futures = { workspace = true, optional = true } tokio = { workspace = true, features = ["full"], optional = true } tokio-util = { workspace = true, features = ["full"], optional = true } tower = { workspace = true, features = ["full"], optional = true } -thread_local = { workspace = true } +thread_local = { workspace = true, optional = true } rayon = { workspace = true, optional = true } [dev-dependencies]