-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
35 lines (31 loc) · 1.21 KB
/
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
[package]
name = "python-buildpack"
edition = "2021"
rust-version = "1.80"
# Disable automatic integration test discovery, since we import them in main.rs (see comment there).
autotests = false
[lints.rust]
unreachable_pub = "warn"
unsafe_code = "warn"
unused_crate_dependencies = "warn"
[lints.clippy]
panic_in_result_fn = "warn"
# The explicit priority is required due to https://github.com/rust-lang/cargo/issues/13565.
pedantic = { level = "warn", priority = -1 }
unwrap_used = "warn"
# Prevent warnings caused by the large size of `ureq::Error` in error enums,
# where it is not worth boxing since the enum size doesn't affect performance.
large_enum_variant = "allow"
result_large_err = "allow"
[dependencies]
indoc = "2"
# libcnb has a much bigger impact on buildpack behaviour than any other dependencies,
# so it's pinned to an exact version to isolate it from lockfile refreshes.
libcnb = "=0.25.0"
libherokubuildpack = { version = "=0.25.0", default-features = false, features = ["log"] }
serde = "1"
tar = { version = "0.4", default-features = false }
ureq = { version = "2", default-features = false, features = ["tls"] }
zstd = { version = "0.13", default-features = false }
[dev-dependencies]
libcnb-test = "=0.25.0"