rename bitcoin-private to bitcoin-internals

Since we now have control over the name on crates.io.
This commit is contained in:
Andrew Poelstra 2023-05-26 19:45:25 +00:00
parent b5aa482532
commit ca06d64455
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
7 changed files with 12 additions and 12 deletions

View File

@ -37,7 +37,7 @@ dependencies = [
"base64", "base64",
"bech32", "bech32",
"bincode", "bincode",
"bitcoin-private", "bitcoin-internals",
"bitcoin_hashes", "bitcoin_hashes",
"bitcoinconsensus", "bitcoinconsensus",
"core2", "core2",
@ -62,14 +62,14 @@ dependencies = [
] ]
[[package]] [[package]]
name = "bitcoin-private" name = "bitcoin-internals"
version = "0.1.0" version = "0.1.0"
[[package]] [[package]]
name = "bitcoin_hashes" name = "bitcoin_hashes"
version = "0.12.0" version = "0.12.0"
dependencies = [ dependencies = [
"bitcoin-private", "bitcoin-internals",
"core2", "core2",
"schemars", "schemars",
"serde", "serde",

View File

@ -36,7 +36,7 @@ dependencies = [
"base64", "base64",
"bech32", "bech32",
"bincode", "bincode",
"bitcoin-private", "bitcoin-internals",
"bitcoin_hashes", "bitcoin_hashes",
"bitcoinconsensus", "bitcoinconsensus",
"core2", "core2",
@ -61,14 +61,14 @@ dependencies = [
] ]
[[package]] [[package]]
name = "bitcoin-private" name = "bitcoin-internals"
version = "0.1.0" version = "0.1.0"
[[package]] [[package]]
name = "bitcoin_hashes" name = "bitcoin_hashes"
version = "0.12.0" version = "0.12.0"
dependencies = [ dependencies = [
"bitcoin-private", "bitcoin-internals",
"core2", "core2",
"schemars", "schemars",
"serde", "serde",

View File

@ -1,7 +1,7 @@
# Security Policy # Security Policy
This security policy applies to the "core" crates in the rust-bitcoin ecosystem, which are 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 cryptography and cryptographic algorithms, and as such, are likely locations for security
vulnerabilities to crop up. vulnerabilities to crop up.

View File

@ -34,7 +34,7 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"]
[dependencies] [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 } bech32 = { version = "0.9.0", default-features = false }
hashes = { package = "bitcoin_hashes", version = "0.12.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"] } secp256k1 = { version = "0.27.0", default-features = false, features = ["bitcoin_hashes"] }

View File

@ -38,7 +38,7 @@ publish_dry_run() {
if [ "$crate" == "hashes" ]; then if [ "$crate" == "hashes" ]; then
cargo publish -p "bitcoin_hashes" --dry-run cargo publish -p "bitcoin_hashes" --dry-run
elif [ "$crate" == "internals" ]; then elif [ "$crate" == "internals" ]; then
cargo publish -p "bitcoin-private" --dry-run cargo publish -p "bitcoin-internals" --dry-run
elif [ "$crate" == "bitcoin" ]; then elif [ "$crate" == "bitcoin" ]; then
cargo publish -p "bitcoin" --dry-run cargo publish -p "bitcoin" --dry-run
fi fi

View File

@ -23,7 +23,7 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"]
[dependencies] [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 } core2 = { version = "0.3.0", default_features = false, optional = true }
schemars = { version = "0.8.3", optional = true } schemars = { version = "0.8.3", optional = true }

View File

@ -1,10 +1,10 @@
[package] [package]
name = "bitcoin-private" name = "bitcoin-internals"
version = "0.1.0" version = "0.1.0"
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>", "The Rust Bitcoin developers"] authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>", "The Rust Bitcoin developers"]
license = "CC0-1.0" license = "CC0-1.0"
repository = "https://github.com/rust-bitcoin/rust-bitcoin/" 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" description = "Internal types and macros used by rust-bitcoin ecosystem"
categories = ["cryptography::cryptocurrencies"] categories = ["cryptography::cryptocurrencies"]
keywords = ["internal"] keywords = ["internal"]