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",
"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",

View File

@ -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",

View File

@ -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.

View File

@ -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"] }

View File

@ -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

View File

@ -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 }

View File

@ -1,10 +1,10 @@
[package]
name = "bitcoin-private"
name = "bitcoin-internals"
version = "0.1.0"
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>", "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"]