Skip to content

Commit

Permalink
Use same verison for bitwarden crates
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Mar 15, 2024
1 parent d2742c8 commit 06e09b7
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 20 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ members = ["crates/*"]

# Global settings for all crates should be defined here
[workspace.package]
# Update using `cargo set-version -p bitwarden <new-version>`
version = "0.4.0"
authors = ["Bitwarden Inc"]
edition = "2021"
# Note: Changing rust-version should be considered a breaking change
Expand All @@ -15,12 +17,12 @@ keywords = ["bitwarden"]

# Define dependencies that are expected to be consistent across all crates
[workspace.dependencies]
bitwarden = { path = "crates/bitwarden", version = "0.4.0" }
bitwarden-api-api = { path = "crates/bitwarden-api-api", version = "0.2.3" }
bitwarden-api-identity = { path = "crates/bitwarden-api-identity", version = "=0.2.3" }
bitwarden-crypto = { path = "crates/bitwarden-crypto", version = "=0.1.0" }
bitwarden-exporters = { path = "crates/bitwarden-exporters", version = "=0.1.0" }
bitwarden-generators = { path = "crates/bitwarden-generators", version = "=0.1.0" }
bitwarden = { path = "crates/bitwarden", version = "=0.4.0" }
bitwarden-api-api = { path = "crates/bitwarden-api-api", version = "=0.4.0" }
bitwarden-api-identity = { path = "crates/bitwarden-api-identity", version = "=0.4.0" }
bitwarden-crypto = { path = "crates/bitwarden-crypto", version = "=0.4.0" }
bitwarden-exporters = { path = "crates/bitwarden-exporters", version = "=0.4.0" }
bitwarden-generators = { path = "crates/bitwarden-generators", version = "=0.4.0" }

# Compile all dependencies with some optimizations when building this crate on debug
# This slows down clean builds by about 50%, but the resulting binaries can be orders of magnitude faster
Expand Down
2 changes: 1 addition & 1 deletion crates/bitwarden-api-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "bitwarden-api-api"
version = "0.2.3"
description = """
Api bindings for the Bitwarden API.
"""
categories = ["api-bindings"]

version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/bitwarden-api-identity/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "bitwarden-api-identity"
version = "0.2.3"
description = """
Api bindings for the Bitwarden Identity API.
"""
categories = ["api-bindings"]

version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/bitwarden-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bitwarden-cli"
version = "0.1.0"

version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/bitwarden-crypto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "bitwarden-crypto"
version = "0.1.0"
description = """
Internal crate for the bitwarden crate. Do not use.
"""

version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/bitwarden-exporters/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "bitwarden-exporters"
version = "0.1.0"
description = """
Internal crate for the bitwarden crate. Do not use.
"""
exclude = ["/resources"]

version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/bitwarden-generators/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "bitwarden-generators"
version = "0.1.0"
description = """
Internal crate for the bitwarden crate. Do not use.
"""

version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/bitwarden/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "bitwarden"
version = "0.4.0"
description = """
Bitwarden Secrets Manager SDK
"""
keywords = ["bitwarden", "secrets-manager"]

version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/bw/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ log = "0.4.20"
tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"] }

bitwarden = { workspace = true, features = ["internal", "mobile"] }
bitwarden-cli = { path = "../bitwarden-cli", version = "0.1.0" }
bitwarden-cli = { path = "../bitwarden-cli", version = "0.4.0" }

[dev-dependencies]
tempfile = "3.10.0"

0 comments on commit 06e09b7

Please sign in to comment.