-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
37 lines (32 loc) · 958 Bytes
/
Cargo.toml
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
[workspace]
resolver = "2"
members = [
"buildpacks/gradle",
"buildpacks/jvm",
"buildpacks/jvm-function-invoker",
"buildpacks/maven",
"buildpacks/sbt",
"shared",
"shared-test"
]
[workspace.package]
rust-version = "1.80"
edition = "2021"
[workspace.lints.rust]
unreachable_pub = "warn"
unsafe_code = "warn"
unused_crate_dependencies = "warn"
# Allows the usage of cfg(coverage_nightly).
# cargo-llvm-cov enables that config when instrumenting our code, so we can enable
# the experimental coverage_attribute feature.
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
panic_in_result_fn = "warn"
unwrap_used = "warn"
enum_variant_names = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
[workspace.dependencies]
buildpacks-jvm-shared = { path = "shared" }
buildpacks-jvm-shared-test = { path = "shared-test" }