-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
96 lines (92 loc) · 3.4 KB
/
Copy pathCargo.toml
File metadata and controls
96 lines (92 loc) · 3.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
88
89
90
91
92
93
94
95
96
[workspace]
resolver = "2"
members = [
"crates/hm",
"crates/hm-config",
"crates/hm-plugin-protocol",
"crates/hm-pipeline-ir",
"crates/hm-util",
"crates/hm-plugin-cloud",
"crates/hm-dsl-engine",
"crates/hm-render",
"crates/hm-exec",
"crates/hm-vm",
]
default-members = [
"crates/hm",
"crates/hm-config",
"crates/hm-plugin-protocol",
"crates/hm-pipeline-ir",
"crates/hm-util",
"crates/hm-plugin-cloud",
"crates/hm-dsl-engine",
"crates/hm-render",
"crates/hm-exec",
"crates/hm-vm",
]
[workspace.package]
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/harmont-dev/harmont-cli"
[workspace.dependencies]
hm-exec = { path = "crates/hm-exec", version = "0.0.0-dev" }
hm-plugin-protocol = { path = "crates/hm-plugin-protocol", version = "0.0.0-dev" }
hm-plugin-cloud = { path = "crates/hm-plugin-cloud", version = "0.0.0-dev" }
hm-pipeline-ir = { path = "crates/hm-pipeline-ir", version = "0.0.0-dev" }
hm-util = { path = "crates/hm-util", version = "0.0.0-dev" }
hm-config = { path = "crates/hm-config", version = "0.0.0-dev" }
hm-dsl-engine = { path = "crates/hm-dsl-engine", version = "0.0.0-dev" }
hm-render = { path = "crates/hm-render", version = "0.0.0-dev" }
hm-vm = { path = "crates/hm-vm", version = "0.0.0-dev" }
harmont-cloud = "0.1"
harmont-cloud-raw = "0.1"
anyhow = "1"
async-trait = "0.1"
dirs = "6"
figment = { version = "0.10", features = ["toml", "env"] }
daggy = { version = "0.9", features = ["serde-1"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
schemars = { version = "0.8", features = ["preserve_order", "semver", "uuid1", "chrono"] }
semver = { version = "1", features = ["serde"] }
uuid = { version = "1", features = ["serde", "v4"] }
chrono = { version = "0.4", features = ["serde"] }
thiserror = "2"
derive_more = { version = "1", default-features = false, features = ["full"] }
smart-default = "0.7"
tokio = { version = "1", features = ["full"] }
tokio-util = { version = "0.7", features = ["rt"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "registry"] }
[workspace.lints.rust]
unsafe_code = "deny"
unused_must_use = "deny"
unreachable_pub = "deny"
missing_debug_implementations = "deny"
rust_2018_idioms = { level = "deny", priority = -1 }
rust_2024_compatibility = { level = "warn", priority = -1 }
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
# Internal workspace crates do not publish to crates.io from this repo;
# the Harmont SaaS is the product. Package metadata lints are noise.
cargo_common_metadata = "allow"
# schemars 0.8 pulls older indexmap / wit-bindgen transitively; we
# can't fix without bumping schemars.
multiple_crate_versions = "allow"
# `pub(crate)` inside a non-pub module triggers this, but `unreachable_pub`
# already enforces the same invariant from the rustc side.
redundant_pub_crate = "allow"
dbg_macro = "deny"
todo = "deny"
unimplemented = "deny"
mem_forget = "deny"
implicit_clone = "deny"
lossy_float_literal = "deny"
print_stdout = "deny"
print_stderr = "deny"
unwrap_used = "warn"
expect_used = "warn"
panic = "warn"
exit = "warn"