Skip to content

Commit

Permalink
Merge pull request #97 from HarborWallet/lib
Browse files Browse the repository at this point in the history
Beginning of separating out crates
  • Loading branch information
futurepaul authored Nov 9, 2024
2 parents 1db5ec9 + 32c9245 commit 009fe59
Show file tree
Hide file tree
Showing 77 changed files with 1,638 additions and 1,601 deletions.
1,597 changes: 768 additions & 829 deletions Cargo.lock

Large diffs are not rendered by default.

48 changes: 6 additions & 42 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,43 +1,7 @@
[package]
name = "harbor"
version = "0.1.0"
edition = "2021"
[workspace]
resolver = "2"

[features]
default = []
vendored = ["rusqlite/bundled-sqlcipher-vendored-openssl"]

[dependencies]
anyhow = "1.0.89"
log = "0.4"
pretty_env_logger = "0.5" # todo swap to a file logger
iced = { version = "0.13.1", features = ["debug", "tokio", "svg", "qr_code", "advanced"] }
lyon_algorithms = "1.0"
once_cell = "1.0"
tokio = { version = "1", features = ["full"] }
palette = "0.7"
config = "0.14.0"
serde = { version = "1.0.210", features = ["derive"] }
home = "0.5.9"
chrono = "0.4.38"
rusqlite = { version = "0.28.0", features = ["sqlcipher"] }
diesel = { version = "2.1.6", features = ["sqlite", "chrono", "r2d2"] }
diesel_migrations = { version = "2.1.0", features = ["sqlite"] }
uuid = { version = "1.8", features = ["v4"] }
async-trait = "0.1.77"
bincode = "1.3.3"
hex = "0.4.3"

bitcoin = { version = "0.30.2", features = ["base64"] }
bip39 = "2.0.0"
fedimint-api-client = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-client = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-core = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-wallet-client = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-mint-client = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-ln-client = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-bip39 = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-ln-common = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}

[dev-dependencies]
tempdir = "0.3.7"
members = [
"harbor-client",
"harbor-ui",
]
40 changes: 40 additions & 0 deletions harbor-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[package]
name = "harbor-client"
version = "0.1.0"
edition = "2021"

[dependencies]
# todo: remove
iced = { version = "0.13.1", features = ["debug", "tokio", "svg", "qr_code", "advanced"] }

anyhow = "1.0.89"
log = "0.4"
lyon_algorithms = "1.0"
once_cell = "1.0"
tokio = { version = "1", features = ["full"] }
palette = "0.7"
config = "0.14.0"
serde = { version = "1.0.210", features = ["derive"] }
home = "0.5.9"
chrono = "0.4.38"
rusqlite = { version = "0.28.0", features = ["sqlcipher"] }
diesel = { version = "2.1.6", features = ["sqlite", "chrono", "r2d2"] }
diesel_migrations = { version = "2.1.0", features = ["sqlite"] }
uuid = { version = "1.8", features = ["v4"] }
async-trait = "0.1.77"
bincode = "1.3.3"
hex = "0.4.3"

bitcoin = { version = "0.30.2", features = ["base64"] }
bip39 = "2.0.0"
fedimint-api-client = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-client = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-core = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-wallet-client = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-mint-client = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-ln-client = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-bip39 = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}
fedimint-ln-common = { git = "https://github.com/fedimint/fedimint/", rev = "54acaa63a45e6bd14e872cdaaf020e8c100d6b33"}

[dev-dependencies]
tempdir = "0.3.7"
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 009fe59

Please sign in to comment.