mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-01-22 18:54:34 +00:00
fix more errors
This commit is contained in:
parent
8ff899b212
commit
b46eea531b
3 changed files with 5 additions and 5 deletions
4
.github/workflows/hack.yml
vendored
4
.github/workflows/hack.yml
vendored
|
@ -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
|
|
@ -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};
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue