From ca06d644557409a505bf8340dcf0239ab4dd8728 Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Fri, 26 May 2023 19:45:25 +0000 Subject: [PATCH] rename bitcoin-private to bitcoin-internals Since we now have control over the name on crates.io. --- Cargo-minimal.lock | 6 +++--- Cargo-recent.lock | 6 +++--- SECURITY.md | 2 +- bitcoin/Cargo.toml | 2 +- contrib/release.sh | 2 +- hashes/Cargo.toml | 2 +- internals/Cargo.toml | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo-minimal.lock b/Cargo-minimal.lock index 2fa5a727..afba03d5 100644 --- a/Cargo-minimal.lock +++ b/Cargo-minimal.lock @@ -37,7 +37,7 @@ dependencies = [ "base64", "bech32", "bincode", - "bitcoin-private", + "bitcoin-internals", "bitcoin_hashes", "bitcoinconsensus", "core2", @@ -62,14 +62,14 @@ dependencies = [ ] [[package]] -name = "bitcoin-private" +name = "bitcoin-internals" version = "0.1.0" [[package]] name = "bitcoin_hashes" version = "0.12.0" dependencies = [ - "bitcoin-private", + "bitcoin-internals", "core2", "schemars", "serde", diff --git a/Cargo-recent.lock b/Cargo-recent.lock index d95c1d4d..ca9c366a 100644 --- a/Cargo-recent.lock +++ b/Cargo-recent.lock @@ -36,7 +36,7 @@ dependencies = [ "base64", "bech32", "bincode", - "bitcoin-private", + "bitcoin-internals", "bitcoin_hashes", "bitcoinconsensus", "core2", @@ -61,14 +61,14 @@ dependencies = [ ] [[package]] -name = "bitcoin-private" +name = "bitcoin-internals" version = "0.1.0" [[package]] name = "bitcoin_hashes" version = "0.12.0" dependencies = [ - "bitcoin-private", + "bitcoin-internals", "core2", "schemars", "serde", diff --git a/SECURITY.md b/SECURITY.md index 8c032b6f..2e161330 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,7 +1,7 @@ # Security Policy This security policy applies to the "core" crates in the rust-bitcoin ecosystem, which are -`bitcoin`, `secp256k1`, `bitcoin_hashes` and `bitcoin-private`. These crates deal with +`bitcoin`, `secp256k1`, `bitcoin_hashes` and `bitcoin-internals`. These crates deal with cryptography and cryptographic algorithms, and as such, are likely locations for security vulnerabilities to crop up. diff --git a/bitcoin/Cargo.toml b/bitcoin/Cargo.toml index 70b648a5..b7aaa3c5 100644 --- a/bitcoin/Cargo.toml +++ b/bitcoin/Cargo.toml @@ -34,7 +34,7 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -internals = { package = "bitcoin-private", version = "0.1.0", path = "../internals" } +internals = { package = "bitcoin-internals", version = "0.1.0", path = "../internals" } bech32 = { version = "0.9.0", default-features = false } hashes = { package = "bitcoin_hashes", version = "0.12.0", default-features = false } secp256k1 = { version = "0.27.0", default-features = false, features = ["bitcoin_hashes"] } diff --git a/contrib/release.sh b/contrib/release.sh index e732a8ee..aed6bf1f 100755 --- a/contrib/release.sh +++ b/contrib/release.sh @@ -38,7 +38,7 @@ publish_dry_run() { if [ "$crate" == "hashes" ]; then cargo publish -p "bitcoin_hashes" --dry-run elif [ "$crate" == "internals" ]; then - cargo publish -p "bitcoin-private" --dry-run + cargo publish -p "bitcoin-internals" --dry-run elif [ "$crate" == "bitcoin" ]; then cargo publish -p "bitcoin" --dry-run fi diff --git a/hashes/Cargo.toml b/hashes/Cargo.toml index c96cc7a8..67bc3c6f 100644 --- a/hashes/Cargo.toml +++ b/hashes/Cargo.toml @@ -23,7 +23,7 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -internals = { path = "../internals", package = "bitcoin-private", version = "0.1.0" } +internals = { path = "../internals", package = "bitcoin-internals", version = "0.1.0" } core2 = { version = "0.3.0", default_features = false, optional = true } schemars = { version = "0.8.3", optional = true } diff --git a/internals/Cargo.toml b/internals/Cargo.toml index 582cb5f9..2f79a2f1 100644 --- a/internals/Cargo.toml +++ b/internals/Cargo.toml @@ -1,10 +1,10 @@ [package] -name = "bitcoin-private" +name = "bitcoin-internals" version = "0.1.0" authors = ["Andrew Poelstra ", "The Rust Bitcoin developers"] license = "CC0-1.0" repository = "https://github.com/rust-bitcoin/rust-bitcoin/" -documentation = "https://docs.rs/bitcoin-private" +documentation = "https://docs.rs/bitcoin-internals" description = "Internal types and macros used by rust-bitcoin ecosystem" categories = ["cryptography::cryptocurrencies"] keywords = ["internal"]