Skip to content

Commit

Permalink
Fix/publish on crates io (#94)
Browse files Browse the repository at this point in the history
* fix missing fields in manifest

* fix missing fields in manifest again

* fix missing fields in manifest again and again

* all dependencies must have a version specified when publishing
  • Loading branch information
yogh333 authored Nov 14, 2023
1 parent d1a040b commit 894b445
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions include_gif/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name = "include_gif"
version = "1.0.0"
edition = "2021"
license.workspace = true
description = "procedural macro that packs a gif image into a byte representation"

[lib]
proc-macro = true
Expand Down
3 changes: 2 additions & 1 deletion ledger_device_sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "1.0.0"
authors = ["yhql"]
edition = "2021"
license.workspace = true
description = "Ledger device Rust SDK"

[dev-dependencies]
# enable the 'speculos' feature when testing
Expand All @@ -13,7 +14,7 @@ ledger_device_sdk = { path = ".", features = ["speculos"] }
testmacro = { git = "https://github.com/yhql/testmacro"}

[dependencies]
ledger_secure_sdk_sys = { path = "../ledger_secure_sdk_sys" }
ledger_secure_sdk_sys = "1.0.0"
num-traits = { version = "0.2.14", default_features = false }
rand_core = { version = "0.6.3", default_features = false }
zeroize = { version = "1.6.0", default_features = false }
Expand Down
5 changes: 3 additions & 2 deletions ledger_device_ui_sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ version = "1.0.0"
authors = ["yhql"]
edition = "2021"
license.workspace = true
description = "Ledger devices abstractions for displaying text, icons, menus and other common gadgets to the screen"

[dependencies]
ledger_secure_sdk_sys = { path = "../ledger_secure_sdk_sys" }
include_gif = { path = "../include_gif" }
ledger_secure_sdk_sys = "1.0.0"
include_gif = "1.0.0"

[features]
speculos = []
Expand Down
2 changes: 2 additions & 0 deletions ledger_secure_sdk_sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "ledger_secure_sdk_sys"
version = "1.0.0"
authors = ["yhql"]
edition = "2021"
license.workspace = true
description = "Bindings to Ledger C SDK"

[build-dependencies]
bindgen = "0.65.1"
Expand Down

0 comments on commit 894b445

Please sign in to comment.