fix more errors

This commit is contained in:
Boog900 2024-06-27 01:44:45 +01:00
parent 8ff899b212
commit b46eea531b
No known key found for this signature in database
GPG key ID: 42AB1287CB0041C2
3 changed files with 5 additions and 5 deletions

View file

@ -31,5 +31,5 @@ jobs:
cargo install cargo-hack --locked cargo install cargo-hack --locked
- name: Hack Check - name: Hack Check
# TODO: remove the exclude when `cuprate-blockchain` errors are fixed # TODO: remove the exclude when `cuprate-database` errors are fixed
run: cargo hack --workspace --exclude cuprate-blockchain check --feature-powerset --no-dev-deps run: cargo hack --workspace --exclude cuprate-database check --feature-powerset --no-dev-deps

View file

@ -1,7 +1,7 @@
//! This module contains a [`EpeeValue`] trait and //! This module contains a [`EpeeValue`] trait and
//! impls for some possible base epee values. //! 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 core::fmt::Debug;
use bytes::{Buf, BufMut, Bytes, BytesMut}; use bytes::{Buf, BufMut, Bytes, BytesMut};

View file

@ -15,7 +15,7 @@ default = ["heed", "service"]
heed = ["cuprate-database/heed"] heed = ["cuprate-database/heed"]
redb = ["cuprate-database/redb"] redb = ["cuprate-database/redb"]
redb-memory = ["cuprate-database/redb-memory"] 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] [dependencies]
# FIXME: # FIXME:
@ -38,7 +38,7 @@ futures = { workspace = true, optional = true }
tokio = { workspace = true, features = ["full"], optional = true } tokio = { workspace = true, features = ["full"], optional = true }
tokio-util = { workspace = true, features = ["full"], optional = true } tokio-util = { workspace = true, features = ["full"], optional = true }
tower = { 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 } rayon = { workspace = true, optional = true }
[dev-dependencies] [dev-dependencies]