Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Re-name bitcoind crate #5

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo-minimal.lock
Original file line number Diff line number Diff line change
Expand Up @@ -255,5 +255,5 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"

[[patch.unused]]
name = "bitcoind"
version = "0.37.0"
name = "bitcoind-json-rpc-regtest"
version = "0.1.0"
4 changes: 2 additions & 2 deletions Cargo-recent.lock
Original file line number Diff line number Diff line change
Expand Up @@ -255,5 +255,5 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"

[[patch.unused]]
name = "bitcoind"
version = "0.37.0"
name = "bitcoind-json-rpc-regtest"
version = "0.1.0"
5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
[workspace]
members = ["client", "json"]
exclude = ["integration_test", "bitcoind"]
exclude = ["integration_test", "regtest"]
resolver = "2"

[patch.crates-io.bitcoind-json-rpc-client]
path = "client"

[patch.crates-io.bitcoind-json-rpc-types]
path = "json"

[patch.crates-io.bitcoind]
path = "bitcoind"
6 changes: 3 additions & 3 deletions integration_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ edition = "2021"
[dependencies]
bitcoin = { version = "0.32.0", default-features = false, features = ["std", "serde"] }
client = { package = "bitcoind-json-rpc-client", version = "0.1.0", default-features = false, features = ["client-sync"] }
bitcoind = { version = "0.37.0", default-features = false, features = [] }
bitcoind = { package = "bitcoind-json-rpc-regtest", version = "0.1.0", default-features = false, features = [] }
rand = "0.8.5"
env_logger = "0.9.0"

Expand All @@ -59,5 +59,5 @@ path = "../client"
[patch.crates-io.bitcoind-json-rpc-types]
path = "../json"

[patch.crates-io.bitcoind]
path = "../bitcoind"
[patch.crates-io.bitcoind-json-rpc-regtest]
path = "../regtest"
File renamed without changes.
15 changes: 6 additions & 9 deletions bitcoind/Cargo.toml → regtest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "bitcoind"
version = "0.37.0"
authors = ["Riccardo Casatta <riccardo@casatta.it>"]
description = "Utility to run a regtest bitcoind process, useful in integration testing environment"
name = "bitcoind-json-rpc-regtest"
version = "0.1.0"
authors = ["Riccardo Casatta <riccardo@casatta.it>", "Tobin C. Harding <me@tobin.cc>"]
description = "Utility to run a regtest bitcoind process, useful in integration testing environments"
license = "MIT"
repository = "https://github.com/RCasatta/bitcoind"
documentation = "https://docs.rs/bitcoind/"
repository = "https://github.com/tcharding/rust-bitcoind-json-rpc"
documentation = "https://docs.rs/bitcoind-json-rpc-regtest/"
rust-version = "1.56.1"
edition = "2018"
categories = ["cryptography::cryptocurrencies", "development-tools::testing"]
Expand Down Expand Up @@ -71,6 +71,3 @@ path = "../client"

[patch.crates-io.bitcoind-json-rpc-types]
path = "../json"

[patch.crates-io.bitcoind]
path = "../bitcoind"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions bitcoind/src/lib.rs → regtest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ const INVALID_ARGS: [&str; 2] = ["-rpcuser", "-rpcpassword"];
///
/// Default values:
/// ```
/// use bitcoind_json_rpc_regtest as bitcoind;
/// let mut conf = bitcoind::Conf::default();
/// conf.args = vec!["-regtest", "-fallbackfee=0.0001"];
/// conf.view_stdout = false;
Expand Down
File renamed without changes.
Loading