-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
87 lines (77 loc) · 2.4 KB
/
Cargo.toml
File metadata and controls
87 lines (77 loc) · 2.4 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
84
85
86
87
[workspace]
resolver = "2"
members = [
"crates/aptos-sdk",
"crates/aptos-sdk-macros",
]
# NOTE: default-members is the complete list of binaries that form the "production Aptos codebase". These members should
# never include crates that require fuzzing features or test features. These are the crates we want built with no extra
# test-only code included.
#
# For more, see the "Conditional compilation for tests" section in documentation/coding_guidelines.md.
default-members = [
"crates/aptos-sdk",
]
# All workspace members should inherit these keys
# for package declarations.
[workspace.package]
authors = ["Aptos Labs <opensource@aptoslabs.com>"]
edition = "2024"
homepage = "https://aptoslabs.com"
license = "Apache-2.0"
publish = false
repository = "https://github.com/aptos-labs/aptos-rust-sdk"
rust-version = "1.90.0"
[workspace.dependencies]
# Internal crate dependencies.
# Please do not add any test features here: they should be declared by the individual crate.
aptos-sdk = { version = "0.4.1", path = "crates/aptos-sdk" }
aptos-sdk-macros = { version = "0.2.1", path = "crates/aptos-sdk-macros" }
# External crate dependencies.
# Please do not add any test features here: they should be declared by the individual crate.
anyhow = "1.0.101"
arbitrary = { version = "1.4.1", features = ["derive"] }
aptos-bcs = "0.1.4"
aws-lc-sys = "0.38.0"
const-hex = { version = "1.17.0", features = ["serde"] }
proc-macro2 = "1.0.94"
proptest = "1.6.0"
proptest-derive = "0.5.1"
quote = "1.0.40"
reqwest = { version = "0.13.2", features = ["json"] }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = { version = "1.0.140", features = [
"preserve_order",
"arbitrary_precision",
] } # Note: arbitrary_precision is required to parse u256 in JSON
thiserror = "2.0.18"
trybuild = "1.0.104"
tokio = { version = "1.44.1", features = ["macros"] }
url = "2.5.4"
[profile.release]
debug = false
overflow-checks = true
lto = "thin"
# The performance build is not currently recommended
# for production deployments. It has not been widely tested.
[profile.performance]
inherits = "release"
opt-level = 3
debug = true
overflow-checks = true
lto = "thin"
codegen-units = 1
[profile.cli]
inherits = "release"
debug = false
opt-level = "z"
lto = "thin"
strip = true
codegen-units = 1
[profile.ci]
inherits = "release"
debug = "line-tables-only"
overflow-checks = true
debug-assertions = true
[profile.bench]
debug = true