Skip to content

Commit

Permalink
project: use a workspace architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
pythcoiner committed Feb 23, 2025
1 parent d0c376c commit ce451ef
Show file tree
Hide file tree
Showing 27 changed files with 41 additions and 34 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/target/
Cargo.lock
/target/*
/rust/joinstr/Cargo.lock
/dart/ios/
/dart/android/
Cargo.lock
37 changes: 5 additions & 32 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,6 @@
[package]
name = "joinstr"
version = "0.0.1"
edition = "2021"

[lib]
crate-type = ["rlib", "cdylib", "staticlib"]

[features]
default = []
async = ["nostr-sdk", "tokio"]

[dependencies]
home = "=0.5.9"
bitcoin = "=0.32.2"
bip39 = { version = "2.0.0", features = ["rand"] }
hex-conservative = "0.2.1"
miniscript = {version = "12.2.0", features = ["base64", "serde"]}
simple_electrum_client = { git = "https://github.com/pythcoiner/simple_electrum_client.git", branch = "openssl_vendored"}
nostr-sdk = {version = "0.35.0", optional = true}
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
tokio = {version = "1.40.0", optional = true }
log = "0.4.22"
env_logger = "=0.10.2"
rand = "0.8.5"
simple_nostr_client = { git = "https://github.com/pythcoiner/simple_nostr_client.git", branch = "master" }
native-tls = "=0.2.13"

[dev-dependencies]
electrsd = { git = "https://github.com/pythcoiner/electrsd.git", branch = "buffered_logs"}
nostrd = { git = "https://github.com/pythcoiner/nostrd.git", branch = "master" }
[workspace]
resolver = "2"

members = [
"rust/joinstr",
]
33 changes: 33 additions & 0 deletions rust/joinstr/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[package]
name = "joinstr"
version = "0.0.1"
edition = "2021"

[lib]
crate-type = ["rlib", "cdylib", "staticlib"]

[features]
default = []
async = ["nostr-sdk", "tokio"]

[dependencies]
home = "=0.5.9"
bitcoin = "=0.32.2"
bip39 = { version = "2.0.0", features = ["rand"] }
hex-conservative = "0.2.1"
miniscript = {version = "12.2.0", features = ["base64", "serde"]}
simple_electrum_client = { git = "https://github.com/pythcoiner/simple_electrum_client.git", branch = "openssl_vendored"}
nostr-sdk = {version = "0.35.0", optional = true}
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
tokio = {version = "1.40.0", optional = true }
log = "0.4.22"
env_logger = "=0.10.2"
rand = "0.8.5"
simple_nostr_client = { git = "https://github.com/pythcoiner/simple_nostr_client.git", branch = "master" }
native-tls = "=0.2.13"

[dev-dependencies]
electrsd = { git = "https://github.com/pythcoiner/electrsd.git", branch = "buffered_logs"}
nostrd = { git = "https://github.com/pythcoiner/nostrd.git", branch = "master" }

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ce451ef

Please sign in to comment.