-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
96 lines (81 loc) · 2.5 KB
/
Copy pathCargo.toml
File metadata and controls
96 lines (81 loc) · 2.5 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
88
89
90
91
92
93
94
95
96
[package]
name = "micrortu_sdk"
version.workspace = true
edition.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true
license.workspace = true
description.workspace = true
[workspace.package]
version = "0.5.21"
edition = "2021"
repository = "https://github.com/t-industry/micrortu_sdk"
keywords = ["wasm", "micrortu", "scripting", "sdk"]
categories = ["no-std"]
license = "MIT OR Apache-2.0"
description = "SDK for MicroRTU"
[features]
# Adds generated config schema to `Config` trait. Used by `micrortu_tool`.
std = ["dep:micrortu_build_utils"]
# Forwards feature, impls `Sync` for allocator and uses `log` crate.
micrortu_sdk_internal = ["ie_representation_derive/micrortu_sdk_internal"]
[workspace.dependencies]
zerocopy = { version = "0.8.25", features = ["derive"], default-features = false }
[workspace.dependencies.ie_base]
package = "micrortu_ie_base"
path = "./ie_base"
version = "0.5.21"
[workspace.dependencies.ie_representation_derive]
package = "micrortu_ie_representation_derive"
path = "./ie_representation_derive"
version = "0.5.21"
[workspace.dependencies.wasm_global_shared_data]
package = "micrortu_wasm_global_shared_data"
path = "./wasm_global_shared_data"
version = "0.5.21"
[workspace.dependencies.micrortu_build_utils]
package = "micrortu_build_utils"
path = "./micrortu_build_utils"
version = "0.5.21"
[workspace]
# Warn: order is important. Those higher in the list should not depend on those lower in the list.
members = [
"./ie_base",
"./wasm_global_shared_data",
"./micrortu_build_utils",
"./ie_representation_derive",
]
exclude = ["./template"]
resolver = "2"
[dependencies]
ie_base.workspace = true
ie_representation_derive.workspace = true
wasm_global_shared_data.workspace = true
micrortu_build_utils = { workspace = true, optional = true }
log = "0.4.20"
zerocopy.workspace = true
ufmt = "0.2.0"
[dev-dependencies]
static_cell = "1.1.0"
[workspace.lints]
[workspace.lints.clippy]
use_self = "warn"
pedantic = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
missing-assert-message = "warn"
module-name-repetitions = "allow"
default-trait-access = "allow"
similar-names = "allow"
manual-assert = "allow"
redundant-closure-for-method-calls = "allow"
redundant_closure = "allow"
single-match-else = "allow"
too-many-lines = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
cast-precision-loss = "allow"
cast-possible-wrap = "allow"
cast-possible-truncation = "allow"
cast-sign-loss = "allow"
cast-lossless = "allow"