Skip to content

Commit

Permalink
correct version matching
Browse files Browse the repository at this point in the history
  • Loading branch information
jleni committed May 9, 2024
1 parent 9dbfaaa commit 027f26c
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ exclude = []
[profile.release]
opt-level = "s"
overflow-checks = true

[patch.crates-io]
ledger-apdu = { path = "ledger-apdu" }
ledger-transport = { path = "ledger-transport" }
ledger-transport-hid = { path = "ledger-transport-hid" }
ledger-zondax-generic = { path = "ledger-zondax-generic" }
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,17 @@ Afterwards, there's a correct order to publish the crates, based on the crate de

Then, the rest of the crates can be published in any order.

``sh
cargo login
cargo package -p ledger-apdu
cargo publish -p ledger-apdu

cargo package -p ledger-transport
cargo publish -p ledger-transport

cargo package -p ledger-zondax-generic
cargo publish -p ledger-zondax-generic

cargo package -p ledger-transport-hid
cargo publish -p ledger-transport-hid
``
4 changes: 2 additions & 2 deletions ledger-transport-hid/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ thiserror = "1"
hex = "0.4"
log = "0.4"

ledger-transport = { path = "../ledger-transport" }
ledger-transport = "0.11.0"
hidapi = { version = "2.6.1", features = ["linux-static-hidraw"], default-features = false }

[dev-dependencies]
once_cell = "1"
ledger-zondax-generic = { path = "../ledger-zondax-generic" }
ledger-zondax-generic = "0.11.0"
serial_test = "3"
env_logger = "0.11"
futures = "0.3"
2 changes: 1 addition & 1 deletion ledger-transport/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ edition = "2021"

[dependencies]
async-trait = "0.1.80"
ledger-apdu = { path = "../ledger-apdu" }
ledger-apdu = "0.11.0"
2 changes: 1 addition & 1 deletion ledger-zondax-generic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ edition = "2021"
serde = { version = "1", features = ["derive"] }
thiserror = "1"

ledger-transport = { path = "../ledger-transport" }
ledger-transport = "0.11.0"
async-trait = "0.1"

0 comments on commit 027f26c

Please sign in to comment.