Skip to content

Commit

Permalink
chore(voyager): remove frame-support-procedural
Browse files Browse the repository at this point in the history
  • Loading branch information
benluelo committed Jan 12, 2025
1 parent 935ab1a commit 39b70ff
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 31 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

53 changes: 26 additions & 27 deletions voyager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,32 @@ test-include = []
workspace = true

[dependencies]
anyhow = "1.0.93"
axum = { workspace = true, features = ["macros", "tokio", "json"] }
clap = { workspace = true, features = ["default", "derive", "env", "error-context", "color"] }
derive_more = { workspace = true }
frame-support-procedural = { workspace = true }
futures = { workspace = true }
ibc-classic-spec.workspace = true
ibc-union-spec.workspace = true
jsonrpsee = { workspace = true, features = ["client", "full", "tracing"] }
pg-queue = { workspace = true }
pin-utils = "0.1.0"
prometheus = "0.13.4"
reqwest = { workspace = true, features = ["tokio-rustls"] }
schemars = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
serde_jsonc = "1.0.108"
sqlx = { workspace = true, features = ["postgres", "migrate", "tls-rustls"] }
thiserror = { workspace = true }
tikv-jemallocator = "0.5"
tokio = { workspace = true, features = ["macros"] }
tracing = { workspace = true, features = ["max_level_trace"] }
tracing-futures = { version = "0.2.5", features = ["futures-03"] }
tracing-subscriber = { workspace = true, features = ["env-filter", "json"] }
unionlabs = { workspace = true, features = ["ethabi"] }
voyager-message = { workspace = true }
voyager-vm = { workspace = true }
anyhow = "1.0.93"
axum = { workspace = true, features = ["macros", "tokio", "json"] }
clap = { workspace = true, features = ["default", "derive", "env", "error-context", "color"] }
derive_more = { workspace = true }
futures = { workspace = true }
ibc-classic-spec = { workspace = true }
ibc-union-spec = { workspace = true }
jsonrpsee = { workspace = true, features = ["client", "full", "tracing"] }
pg-queue = { workspace = true }
pin-utils = "0.1.0"
prometheus = "0.13.4"
reqwest = { workspace = true, features = ["tokio-rustls"] }
schemars = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
serde_jsonc = "1.0.108"
sqlx = { workspace = true, features = ["postgres", "migrate", "tls-rustls"] }
thiserror = { workspace = true }
tikv-jemallocator = "0.5"
tokio = { workspace = true, features = ["macros"] }
tracing = { workspace = true, features = ["max_level_trace"] }
tracing-futures = { version = "0.2.5", features = ["futures-03"] }
tracing-subscriber = { workspace = true, features = ["env-filter", "json"] }
unionlabs = { workspace = true, features = ["ethabi"] }
voyager-message = { workspace = true }
voyager-vm = { workspace = true }

[features]
default = []
5 changes: 2 additions & 3 deletions voyager/src/queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
use std::{fmt::Debug, net::SocketAddr, panic::AssertUnwindSafe};

use anyhow::{bail, Context as _};
use frame_support_procedural::{CloneNoBound, DebugNoBound};
use futures::{future::BoxFuture, stream::FuturesUnordered, Future, FutureExt, StreamExt};
use ibc_classic_spec::IbcClassic;
use ibc_union_spec::IbcUnion;
Expand Down Expand Up @@ -41,13 +40,13 @@ pub enum QueueConfig {
PgQueue(PgQueueConfig),
}

#[derive(DebugNoBound, CloneNoBound)]
#[derive(Debug, Clone)]
pub enum QueueImpl {
InMemory(InMemoryQueue<VoyagerMessage>),
PgQueue(PgQueue<VoyagerMessage>),
}

#[derive(DebugNoBound, thiserror::Error)]
#[derive(Debug, thiserror::Error)]
#[error(transparent)]
pub enum AnyQueueError {
InMemory(std::convert::Infallible),
Expand Down

0 comments on commit 39b70ff

Please sign in to comment.