Skip to content

Commit 93090bd

Browse files
committed
Completed refactoring of the NOSTR relay lib
1 parent e4f601b commit 93090bd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1083
-1543
lines changed

Cargo.toml

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,34 +11,12 @@ rust-version = "1.91.0"
1111
authors = ["Blockstream"]
1212
readme = "README.md"
1313

14-
1514
[workspace.dependencies]
1615
anyhow = { version = "1.0.100" }
17-
bincode = { version = "2.0.1" }
18-
chrono = { version = "0.4.42" }
19-
clap = { version = "4.5.49", features = ["derive"] }
20-
config = { version = "0.15.18" }
21-
contracts = { git = "https://github.com/BlockstreamResearch/simplicity-contracts.git", rev = "baa8ab7", package = "contracts" }
22-
contracts-adapter = { git = "https://github.com/BlockstreamResearch/simplicity-contracts.git", rev = "baa8ab7", package = "contracts-adapter" }
23-
dex-nostr-relay = { path = "./crates/dex-nostr-relay" }
24-
dirs = { version = "6.0.0" }
25-
dotenvy = { version = "0.15.7" }
26-
elements = { version = "0.26.1" }
27-
futures-util = { version = "0.3.31" }
28-
global-utils = { path = "./crates/global-utils" }
29-
hex = { version = "0.4.3" }
30-
humantime = { version = "2.3.0" }
31-
nostr = { version = "0.43.1", features = ["std"] }
32-
nostr-sdk = { version = "0.43.0" }
33-
proptest = { version = "1.9.0" }
34-
serde = { version = "1.0.228" }
35-
serde_json = { version = "1.0.145" }
36-
simplicity-lang = { version = "0.6.0" }
37-
simplicityhl = { version = "0.2.0" }
38-
simplicityhl-core = { git = "https://github.com/BlockstreamResearch/simplicity-contracts.git", rev = "baa8ab7", package = "simplicityhl-core", features = ["encoding"] }
39-
sled = { version = "0.34.7" }
40-
thiserror = { version = "2.0.17" }
41-
tokio = { version = "1.48.0", features = ["macros", "test-util", "rt", "rt-multi-thread", "tracing" ] }
16+
4217
tracing = { version = "0.1.41" }
43-
tracing-appender = { version = "0.2.3" }
44-
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
18+
19+
contracts = { git = "https://github.com/BlockstreamResearch/simplicity-contracts.git", rev = "35449ea", package = "contracts" }
20+
simplicityhl-core = { version = "0.2.1", features = ["encoding"] }
21+
22+
simplicityhl = { version = "0.4.0" }

crates/cli-client/Cargo.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[package]
2+
name = "cli-client"
3+
version = "0.1.0"
4+
edition = "2024"
5+
description = ""
6+
license = "MIT OR Apache-2.0"
7+
readme = "README.md"
8+
publish = false
9+
10+
11+
[[bin]]
12+
name = "simplicity-dex"
13+
path = "src/bin/main.rs"
14+
15+
[dependencies]
16+

crates/cli-client/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use clap::Parser;
44

5-
use global_utils::logger::init_logger;
5+
use dex_cli::logger::init_logger;
66

77
use dex_cli::cli::Cli;
88

0 commit comments

Comments
 (0)