zebra: move to 1.x-based versioning. (#1476)

Previously we set the crate versions to 3.x, so that the major version was
aligned with the NU version.  But we want to be able to make API changes
independently of the NU schedule.
This commit is contained in:
Henry de Valence 2020-12-07 14:53:07 -08:00 committed by GitHub
parent de613409c2
commit 0842eb2dab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 11 additions and 10 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "zebra-chain"
version = "3.0.0-alpha.0"
version = "1.0.0-alpha.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

View File

@ -1,6 +1,6 @@
[package]
name = "zebra-client"
version = "3.0.0-alpha.0"
version = "1.0.0-alpha.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

View File

@ -1,6 +1,6 @@
[package]
name = "zebra-consensus"
version = "3.0.0-alpha.0"
version = "1.0.0-alpha.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

View File

@ -1,6 +1,6 @@
[package]
name = "zebra-network"
version = "3.0.0-alpha.0"
version = "1.0.0-alpha.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

View File

@ -57,7 +57,8 @@ pub const TIMESTAMP_TRUNCATION_SECONDS: i64 = 30 * 60;
/// This must be a valid [BIP 14] user agent.
///
/// [BIP 14]: https://github.com/bitcoin/bips/blob/master/bip-0014.mediawiki
pub const USER_AGENT: &str = "/🦓Zebra🦓:3.0.0-alpha.0/";
// XXX can we generate this from crate metadata?
pub const USER_AGENT: &str = "/🦓Zebra🦓:1.0.0-alpha.0/";
/// The Zcash network protocol version implemented by this crate, and advertised
/// during connection setup.

View File

@ -1,6 +1,6 @@
[package]
name = "zebra-rpc"
version = "3.0.0-alpha.0"
version = "1.0.0-alpha.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

View File

@ -1,6 +1,6 @@
[package]
name = "zebra-script"
version = "3.0.0-alpha.0"
version = "1.0.0-alpha.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

View File

@ -1,6 +1,6 @@
[package]
name = "zebra-state"
version = "3.0.0-alpha.0"
version = "1.0.0-alpha.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

View File

@ -1,6 +1,6 @@
[package]
name = "zebra-test"
version = "3.0.0-alpha.0"
version = "1.0.0-alpha.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

View File

@ -2,7 +2,7 @@
name = "zebra-utils"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
version = "3.0.0-alpha.0"
version = "1.0.0-alpha.0"
edition = "2018"
# Prevent accidental publication of this utility crate.
publish = false