Skip to content

Commit 50856e3

Browse files
authored
Move everything we can from .cargo/config.toml to Config.toml (#45)
Remove obsolete keys from .cargo/config.toml
1 parent 07706cb commit 50856e3

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

.cargo/config.toml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
[alias]
22
xtask = "run --package xtask --"
33

4-
[net]
5-
git-fetch-with-cli = true
6-
7-
[profile.dev]
8-
panic = "abort"
9-
10-
[profile.release]
11-
panic = "abort"
12-
134
# We'd like to set this only if the `tokio-console` feature is enabled, but it
145
# is not recommended to match on a `cfg` directive that includes features.
156
# See https://doc.rust-lang.org/cargo/reference/config.html#target.
167
[build]
178
rustflags = ["--cfg", "tokio_unstable"]
18-
19-
# https://github.com/rust-lang/cargo/issues/3946#issuecomment-973132993
20-
[env]
21-
CARGO_WORKSPACE_DIR = { value = "", relative = true }

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ members = [
1717

1818
resolver = "2"
1919

20+
[profile.dev]
21+
panic = "abort"
22+
23+
[profile.release]
24+
panic = "abort"
2025

2126
[workspace.dependencies]
2227

0 commit comments

Comments
 (0)