Skip to content

Commit c5d9b9a

Browse files
committed
style: reformat all TOMLs with taplo
1 parent 301a1f3 commit c5d9b9a

21 files changed

+117
-98
lines changed

.cargo/config.toml

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
[alias]
22
dev-install = "run -- --no-modify-path -y"
3-

.taplo.toml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
include = ["**/*.toml"]
2+
3+
[[rule]]
4+
include = ["**/Cargo.toml"]
5+
keys = [
6+
"dependencies",
7+
"dev-dependencies",
8+
"build-dependencies",
9+
"workspace.dependencies",
10+
]
11+
12+
[rule.formatting]
13+
column_width = 160

Cargo.toml

+25-25
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ build = "build.rs"
1313
[features]
1414
curl-backend = ["download/curl-backend"]
1515
default = [
16-
"curl-backend",
17-
"reqwest-backend",
18-
"reqwest-native-tls",
19-
"reqwest-rustls-tls",
16+
"curl-backend",
17+
"reqwest-backend",
18+
"reqwest-native-tls",
19+
"reqwest-rustls-tls",
2020
]
2121

2222
reqwest-backend = ["download/reqwest-backend"]
@@ -30,10 +30,10 @@ no-self-update = []
3030

3131
# Include an Opentelemetry sink for tracing events
3232
otel = [
33-
"dep:opentelemetry-otlp",
34-
"dep:tracing-opentelemetry",
35-
"dep:opentelemetry",
36-
"dep:opentelemetry_sdk",
33+
"dep:opentelemetry-otlp",
34+
"dep:tracing-opentelemetry",
35+
"dep:opentelemetry",
36+
"dep:opentelemetry_sdk",
3737
]
3838

3939
# Exports code dependent on private interfaces for the integration test suite
@@ -61,8 +61,8 @@ opener = "0.7.0"
6161
# allows controlling the vendoring status without exposing the presence of the download crate.
6262
openssl = { version = "0.10", optional = true }
6363
opentelemetry = { workspace = true, optional = true }
64-
opentelemetry_sdk = { workspace = true, optional = true }
6564
opentelemetry-otlp = { workspace = true, optional = true }
65+
opentelemetry_sdk = { workspace = true, optional = true }
6666
pulldown-cmark = { version = "0.11", default-features = false }
6767
rand = "0.8"
6868
regex = "1"
@@ -81,13 +81,13 @@ tempfile.workspace = true
8181
termcolor.workspace = true
8282
thiserror.workspace = true
8383
threadpool = "1"
84-
tokio-retry.workspace = true
8584
tokio.workspace = true
85+
tokio-retry.workspace = true
8686
tokio-stream.workspace = true
8787
toml = "0.8"
88+
tracing.workspace = true
8889
tracing-opentelemetry = { workspace = true, optional = true }
8990
tracing-subscriber = { workspace = true, features = ["env-filter"] }
90-
tracing.workspace = true
9191
url.workspace = true
9292
wait-timeout = "0.2"
9393
walkdir = { workspace = true, optional = true }
@@ -100,19 +100,19 @@ winreg = "0.52"
100100

101101
[target."cfg(windows)".dependencies.windows-sys]
102102
features = [
103-
"Win32_Foundation",
104-
"Win32_Security",
105-
"Win32_Storage_FileSystem",
106-
"Win32_System_Diagnostics_ToolHelp",
107-
"Win32_System_IO",
108-
"Win32_System_Ioctl",
109-
"Win32_System_JobObjects",
110-
"Win32_System_Kernel",
111-
"Win32_System_LibraryLoader",
112-
"Win32_System_SystemInformation",
113-
"Win32_System_SystemServices",
114-
"Win32_System_Threading",
115-
"Win32_System_WindowsProgramming",
103+
"Win32_Foundation",
104+
"Win32_Security",
105+
"Win32_Storage_FileSystem",
106+
"Win32_System_Diagnostics_ToolHelp",
107+
"Win32_System_IO",
108+
"Win32_System_Ioctl",
109+
"Win32_System_JobObjects",
110+
"Win32_System_Kernel",
111+
"Win32_System_LibraryLoader",
112+
"Win32_System_SystemInformation",
113+
"Win32_System_SystemServices",
114+
"Win32_System_Threading",
115+
"Win32_System_WindowsProgramming",
116116
]
117117
version = "0.52.0"
118118

@@ -136,8 +136,8 @@ anyhow = "1.0.69"
136136
fs_at = "0.1.6"
137137
once_cell = "1.18.0"
138138
opentelemetry = "0.23"
139-
opentelemetry_sdk = { version = "0.23", features = ["rt-tokio"] }
140139
opentelemetry-otlp = "0.16"
140+
opentelemetry_sdk = { version = "0.23", features = ["rt-tokio"] }
141141
platforms = "3.4"
142142
proptest = "1.1.0"
143143
tempfile = "3.8"
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,59 @@
11
manifest-version = "2"
22
date = "2015-10-10"
33
[pkg.rust]
4-
version = "rustc 1.3.0 (9a92aaf19 2015-09-15)"
5-
[pkg.rust.target.x86_64-unknown-linux-gnu]
6-
available = true
7-
url = "example.com"
8-
hash = "..."
9-
[[pkg.rust.target.x86_64-unknown-linux-gnu.components]]
10-
pkg = "rustc"
11-
target = "x86_64-unknown-linux-gnu"
12-
[[pkg.rust.target.x86_64-unknown-linux-gnu.components]]
13-
pkg = "rust-docs"
14-
target = "x86_64-unknown-linux-gnu"
15-
[[pkg.rust.target.x86_64-unknown-linux-gnu.components]]
16-
pkg = "cargo"
17-
target = "x86_64-unknown-linux-gnu"
18-
[[pkg.rust.target.x86_64-unknown-linux-gnu.components]]
19-
pkg = "rust-std"
20-
target = "x86_64-unknown-linux-gnu"
21-
# extensions are rust-std or rust-docs that aren't in the rust tarball's component list
22-
[[pkg.rust.target.x86_64-unknown-linux-gnu.extensions]]
23-
pkg = "rust-std"
24-
target = "x86_64-unknown-linux-musl"
25-
[[pkg.rust.target.x86_64-unknown-linux-gnu.extensions]]
26-
pkg = "rust-std"
27-
target = "i686-unknown-linux-gnu"
4+
version = "rustc 1.3.0 (9a92aaf19 2015-09-15)"
5+
[pkg.rust.target.x86_64-unknown-linux-gnu]
6+
available = true
7+
url = "example.com"
8+
hash = "..."
9+
[[pkg.rust.target.x86_64-unknown-linux-gnu.components]]
10+
pkg = "rustc"
11+
target = "x86_64-unknown-linux-gnu"
12+
[[pkg.rust.target.x86_64-unknown-linux-gnu.components]]
13+
pkg = "rust-docs"
14+
target = "x86_64-unknown-linux-gnu"
15+
[[pkg.rust.target.x86_64-unknown-linux-gnu.components]]
16+
pkg = "cargo"
17+
target = "x86_64-unknown-linux-gnu"
18+
[[pkg.rust.target.x86_64-unknown-linux-gnu.components]]
19+
pkg = "rust-std"
20+
target = "x86_64-unknown-linux-gnu"
21+
# extensions are rust-std or rust-docs that aren't in the rust tarball's component list
22+
[[pkg.rust.target.x86_64-unknown-linux-gnu.extensions]]
23+
pkg = "rust-std"
24+
target = "x86_64-unknown-linux-musl"
25+
[[pkg.rust.target.x86_64-unknown-linux-gnu.extensions]]
26+
pkg = "rust-std"
27+
target = "i686-unknown-linux-gnu"
2828
[pkg.rustc]
29-
version = "rustc 1.3.0 (9a92aaf19 2015-09-15)"
30-
[pkg.rustc.target.x86_64-unknown-linux-gnu]
31-
available = true
32-
url = "example.com"
33-
hash = "..."
29+
version = "rustc 1.3.0 (9a92aaf19 2015-09-15)"
30+
[pkg.rustc.target.x86_64-unknown-linux-gnu]
31+
available = true
32+
url = "example.com"
33+
hash = "..."
3434
[pkg.cargo]
35-
version = "cargo 0.4.0-nightly (553b363 2015-08-03)"
36-
[pkg.cargo.target.x86_64-unknown-linux-gnu]
37-
available = true
38-
url = "example.com"
39-
hash = "..."
35+
version = "cargo 0.4.0-nightly (553b363 2015-08-03)"
36+
[pkg.cargo.target.x86_64-unknown-linux-gnu]
37+
available = true
38+
url = "example.com"
39+
hash = "..."
4040
[pkg.rust-std]
41-
version = "rustc 1.3.0 (9a92aaf19 2015-09-15)"
42-
[pkg.rust-std.target.x86_64-unknown-linux-gnu]
43-
available = true
44-
url = "example.com"
45-
hash = "..."
46-
[pkg.rust-std.target.x86_64-unknown-linux-musl]
47-
available = true
48-
url = "example.com"
49-
hash = "..."
50-
[pkg.rust-std.target.i686-unknown-linux-gnu]
51-
available = true
52-
url = "example.com"
53-
hash = "..."
41+
version = "rustc 1.3.0 (9a92aaf19 2015-09-15)"
42+
[pkg.rust-std.target.x86_64-unknown-linux-gnu]
43+
available = true
44+
url = "example.com"
45+
hash = "..."
46+
[pkg.rust-std.target.x86_64-unknown-linux-musl]
47+
available = true
48+
url = "example.com"
49+
hash = "..."
50+
[pkg.rust-std.target.i686-unknown-linux-gnu]
51+
available = true
52+
url = "example.com"
53+
hash = "..."
5454
[pkg.rust-docs]
55-
version = "rustc 1.3.0 (9a92aaf19 2015-09-15)"
56-
[pkg.rust-docs.target.x86_64-unknown-linux-gnu]
57-
available = true
58-
url = "example.com"
59-
hash = "..."
60-
55+
version = "rustc 1.3.0 (9a92aaf19 2015-09-15)"
56+
[pkg.rust-docs.target.x86_64-unknown-linux-gnu]
57+
available = true
58+
url = "example.com"
59+
hash = "..."

tests/suite/cli-ui/rustup/rustup_check_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["check","--help"]
2+
args = ["check", "--help"]
33
stdout = """
44
...
55
Check for updates to Rust toolchains and rustup

tests/suite/cli-ui/rustup/rustup_override_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["override","--help"]
2+
args = ["override", "--help"]
33
stdout = """
44
...
55
Modify toolchain overrides for directories

tests/suite/cli-ui/rustup/rustup_override_cmd_list_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["override","list","--help"]
2+
args = ["override", "list", "--help"]
33
stdout = """
44
...
55
List directory toolchain overrides

tests/suite/cli-ui/rustup/rustup_self_cmd_update_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["self","update","--help"]
2+
args = ["self", "update", "--help"]
33
stdout = """
44
...
55
Download and install updates to rustup

tests/suite/cli-ui/rustup/rustup_set_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["set","--help"]
2+
args = ["set", "--help"]
33
stdout = """
44
...
55
Alter rustup settings

tests/suite/cli-ui/rustup/rustup_show_cmd_active-toolchain_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["show","active-toolchain","--help"]
2+
args = ["show", "active-toolchain", "--help"]
33
stdout = """
44
...
55
Show the active toolchain

tests/suite/cli-ui/rustup/rustup_show_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["show","--help"]
2+
args = ["show", "--help"]
33
stdout = """
44
...
55
Show the active and installed toolchains or profiles

tests/suite/cli-ui/rustup/rustup_show_cmd_home_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["show","home","--help"]
2+
args = ["show", "home", "--help"]
33
stdout = """
44
...
55
Display the computed value of RUSTUP_HOME

tests/suite/cli-ui/rustup/rustup_show_cmd_profile_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["show","profile","--help"]
2+
args = ["show", "profile", "--help"]
33
stdout = """
44
...
55
Show the default profile used for the `rustup install` command

tests/suite/cli-ui/rustup/rustup_target_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["target","--help"]
2+
args = ["target", "--help"]
33
stdout = """
44
...
55
Modify a toolchain's supported targets

tests/suite/cli-ui/rustup/rustup_toolchain_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["toolchain","--help"]
2+
args = ["toolchain", "--help"]
33
stdout = """
44
...
55
Modify or query the installed toolchains

tests/suite/cli-ui/rustup/rustup_toolchain_cmd_list_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["toolchain","list","--help"]
2+
args = ["toolchain", "list", "--help"]
33
stdout = """
44
...
55
List installed toolchains

tests/suite/cli-ui/rustup/rustup_toolchain_cmd_uninstall_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["toolchain","uninstall","--help"]
2+
args = ["toolchain", "uninstall", "--help"]
33
stdout = """
44
...
55
Uninstall a toolchain

tests/suite/cli-ui/rustup/rustup_up_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["up","--help"]
2+
args = ["up", "--help"]
33
stdout = """
44
...
55
Update Rust toolchains and rustup

tests/suite/cli-ui/rustup/rustup_update_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["update","--help"]
2+
args = ["update", "--help"]
33
stdout = """
44
...
55
Update Rust toolchains and rustup

tests/suite/cli-ui/rustup/rustup_upgrade_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin.name = "rustup"
2-
args = ["upgrade","--help"]
2+
args = ["upgrade", "--help"]
33
stdout = """
44
...
55
Update Rust toolchains and rustup

triagebot.toml

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
[relabel]
22

33
allow-unauthenticated = [
4-
"bug", "duplicate", "enhancement", "forwarded",
5-
"performance", "question", "security", "tracking", "website",
6-
"O-*", "A-*"
4+
"bug",
5+
"duplicate",
6+
"enhancement",
7+
"forwarded",
8+
"performance",
9+
"question",
10+
"security",
11+
"tracking",
12+
"website",
13+
"O-*",
14+
"A-*",
715
]
816

917
[assign]

0 commit comments

Comments
 (0)