-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
83 lines (68 loc) · 2.83 KB
/
Copy pathCargo.toml
File metadata and controls
83 lines (68 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[package]
name = "mintlayer-app"
version.workspace = true
edition = "2021"
[workspace]
members = ["crates/app-core", "crates/messages", "crates/test-utils"]
resolver = "2"
[workspace.package]
version = "1.0.0"
[workspace.dependencies]
bech32 = { version = "0.11", default-features = false }
chrono = { version = "0.4", default-features = false }
const-hex = { version = "1.19", default-features = false }
derive_more = { version = "2.1", default-features = false }
itertools = { version = "0.15", default-features = false }
ledger_device_sdk = "1.36.1"
ledger_secure_sdk_sys = "1.16.3"
num_enum = { version = "0.7", default-features = false }
num-traits = { version = "0.2", default-features = false }
strum = { version = "0.27", default-features = false }
# Note: the testmacro crate is published by Ledger and its source code comes from the `testmacro`
# dir inside the sdk repo, i.e. https://github.com/LedgerHQ/ledger-device-rust-sdk/tree/cad196841dbd72c037cfa01bec81a4a3ae57a04e/testmacro
# (though the published version is a bit older).
testmacro = "0.1"
mintlayer-app-core = { path = "crates/app-core" }
mintlayer-messages = { path = "crates/messages" }
test-utils = { path = "crates/test-utils" }
[workspace.dependencies.parity-scale-codec]
git = "https://github.com/paritytech/parity-scale-codec.git"
# Use the specific commit "5021525697edc0661591ebc71392c48d950a10b0",
# which includes a fix for NanoX devices that do not support certain
# atomic operations.
#
# Fix reference: https://github.com/paritytech/parity-scale-codec/pull/751
# This fix should be included in releases after version 3.7.5.
rev = "5021525697edc0661591ebc71392c48d950a10b0"
default-features = false
[workspace.dependencies.mintlayer-core-primitives]
git = "https://github.com/mintlayer/mintlayer-core-primitives"
# The commit "Merge pull request #4 from mintlayer/fix_typo".
rev = "8644bfe06d932d687075939d2d175183ba1c369d"
package = "mintlayer-core-primitives"
[dependencies]
ledger_device_sdk.workspace = true
mintlayer-app-core.workspace = true
[[bin]]
# Note: we only have this section to disable tests, but Cargo insists that "name" should also
# be specified.
name = "mintlayer-app"
# The app bin crate is a thin wrapper around `mintlayer-app-core` and it's not supposed to have
# unit tests of its own. So we disable tests completely to prevent Cargo from producing an uncompilable
# test binary.
test = false
[package.metadata.ledger]
curve = ["secp256k1"]
flags = "0"
path = ["44'/19788'", "44'/1'"]
name = "Mintlayer"
[package.metadata.ledger.nanox]
icon = "media/icons/mintlayer_14x14.gif"
[package.metadata.ledger.nanosplus]
icon = "media/icons/mintlayer_14x14.gif"
[package.metadata.ledger.stax]
icon = "media/icons/mintlayer_32x32.gif"
[package.metadata.ledger.flex]
icon = "media/icons/mintlayer_40x40.gif"
[package.metadata.ledger.apex_p]
icon = "media/icons/mintlayer_32x32.png"