mirror of
https://github.com/LORDBABUINO/stealth.git
synced 2026-07-04 15:53:35 -07:00
refactor(api): use ini crate to parse bitcoin.conf
Replace the hand-rolled INI parser in read_bitcoin_conf_credentials with the rust-ini crate (imported as 'ini'). The function shrinks from ~35 lines to 6 and we stop maintaining INI parsing semantics in this repo.
This commit is contained in:
@@ -13,6 +13,7 @@ readme = "README.md"
|
||||
|
||||
[dependencies]
|
||||
axum = { workspace = true }
|
||||
ini = { package = "rust-ini", version = "0.21.3" }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_json = { workspace = true }
|
||||
stealth-bitcoincore = { path = "../bitcoincore" }
|
||||
|
||||
Reference in New Issue
Block a user