forked from probe-rs/probe-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (60 loc) · 1.91 KB
/
Cargo.toml
File metadata and controls
73 lines (60 loc) · 1.91 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
[workspace.package]
version = "0.31.0"
edition = "2024"
documentation = "https://docs.rs/probe-rs/"
homepage = "https://github.com/probe-rs/probe-rs"
repository = "https://github.com/probe-rs/probe-rs"
readme = "README.md"
license = "MIT OR Apache-2.0"
# If this is increased, also update the checked minimum Rust version in the justfile
rust-version = "1.89"
[workspace]
resolver = "2"
members = [
"probe-rs",
"probe-rs-target",
"smoke-tester",
"smoke-tester-macros",
"xtask",
"target-gen",
"probe-rs-tools",
"probe-rs-mi",
"probe-rs-debug",
"probe-rs-espressif",
]
exclude = ["probe-rs/tests/gpio-hal-blinky"]
[workspace.dependencies]
probe-rs = { path = "probe-rs", version = "0.31.0" }
probe-rs-target = { path = "probe-rs-target", version = "0.31.0" }
probe-rs-mi = { path = "probe-rs-mi", version = "0.1.0" }
probe-rs-espressif = { path = "probe-rs-espressif", version = "0.31.0" }
docsplay = "0.1.1"
thiserror = "2.0.11"
anyhow = "1.0.82"
async-io = "2"
nusb = "0.2.1"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9"
[workspace.metadata.release]
shared-version = true
tag-name = "v{{version}}"
[workspace.lints.clippy]
unnecessary_self_imports = "deny"
enum_glob_use = "deny"
macro_use_imports = "deny"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[profile.dev]
# Keep stack trace data, but no other debug info by default.
# See https://kobzol.github.io/rust/rustc/2025/05/20/disable-debuginfo-to-improve-rust-compile-times.html
# If you have difficulty debugging probe-rs, remove this line temporarily.
debug = "line-tables-only"
[profile.release]
# For release builds the default is no debuginfo. Let's instead keep the
# line tables for better backtraces.
debug = "line-tables-only"
[profile.dev.package.zip]
# Set the default for zip in development mode so the creation of the zip does not take forever
opt-level = 3