-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
66 lines (58 loc) · 1.78 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
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
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.dependencies]
anyhow = "1.0.81"
cpufeatures = "0.2.12"
fs-err = "2.11.0"
fs2 = "0.4.3"
indoc = "2.0.5"
logtest = "2.0.0"
mockito = "1.4.0"
pep508_rs = { version = "0.4.2", features = ["serde"] }
pyo3 = { version = "0.21.2", features = ["extension-module", "abi3-py38"] }
regex = "1.10.4"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.115"
sha2 = "0.10.8"
tar = "0.4.40"
target-lexicon = "0.12.14"
tempfile = "3.10.1"
thiserror = "1.0.58"
toml = "0.8.12"
tracing = { version = "0.1.40", features = ["log"] }
tracing-subscriber = "0.3.18"
unscanny = "0.1.0"
ureq = { version = "2.9.6", features = ["json"] }
walkdir = "2.5.0"
which = "6.0.1"
widestring = "1.0.2"
zstd = "0.13.1"
[patch.crates-io]
pep508_rs = { git = "https://github.com/konstin/pep508_rs", rev = "e5dea4d041a2a7863074a60b667d04989ba84dcc" }
pyo3-log = { git = "https://github.com/a1phyr/pyo3-log", rev = "76ff388163dd1100eb70ba164d59a42795829bdb" }
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.3.1"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = ["shell", "powershell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-pc-windows-msvc"]
# Publish jobs to run in CI
pr-run-mode = "plan"
# https://doc.rust-lang.org/cargo/reference/profiles.html#release
[profile.release]
lto = "thin"
[profile.profiling]
inherits = "release"
debug = 1
# zip implementation
[profile.dev.package.adler]
opt-level = 3
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"