Skip to content

Commit c14acf3

Browse files
committed
Format Cargo.toml
Also change the authors line to match the HAL.
1 parent 186d205 commit c14acf3

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

Cargo.toml

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,32 @@
11
[package]
2-
name = "rp235x-pac"
3-
version = "0.1.0"
4-
authors = ["The RP-RS team"]
2+
authors = ["The rp-rs Developers"]
3+
description = "A Peripheral Access Crate for the Raspberry Pi RP235x microcontrollers"
54
edition = "2021"
65
homepage = "https://github.com/rp-rs/rp235x-pac"
7-
description = "A Peripheral Access Crate for the Raspberry Pi RP235x microcontrollers"
86
license = "BSD-3-Clause"
7+
name = "rp235x-pac"
98
repository = "https://github.com/rp-rs/rp235x-pac"
9+
version = "0.1.0"
1010

1111
[package.metadata.docs.rs]
1212
features = ["rt"]
1313
targets = ["thumbv8m.main-none-eabihf", "riscv32imac-unknown-none-elf"]
1414

15+
# DO NOT include arch-specific crates here.
1516
[dependencies]
17+
# Non-optional dependencies. Keep these sorted by name.
1618
vcell = "0.1.3"
17-
critical-section = { optional = true, version = "1.0.0" }
1819

20+
# Optional dependencies. Keep these sorted by name.
21+
critical-section = {optional = true, version = "1.0.0"}
22+
23+
# These dependencies only apply in Arm mode.
1924
[target.'thumbv8m.main-none-eabihf'.dependencies]
25+
# Non-optional dependencies. Keep these sorted by name.
2026
cortex-m = "0.7.3"
21-
cortex-m-rt = { version = ">=0.6.15,<0.8", optional = true }
27+
28+
# Optional dependencies. Keep these sorted by name.
29+
cortex-m-rt = {version = ">=0.6.15,<0.8", optional = true}
2230

2331
[features]
2432
rt = ["cortex-m-rt", "cortex-m-rt/device"]

0 commit comments

Comments
 (0)