feat(cargo): update cargo files

This commit is contained in:
doryan 2025-04-22 22:41:37 +04:00
parent 0f1eb8da31
commit f39fa7b354
3 changed files with 61 additions and 59 deletions

86
Cargo.lock generated
View File

@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo. # This file is automatically @generated by Cargo.
# It is not intended for manual editing. # It is not intended for manual editing.
version = 3 version = 4
[[package]] [[package]]
name = "arduino-hal" name = "arduino-hal"
@ -74,9 +74,9 @@ checksum = "f8fe8f5a8a398345e52358e18ff07cc17a568fbca5c6f73873d3a62056309603"
[[package]] [[package]]
name = "bytemuck" name = "bytemuck"
version = "1.21.0" version = "1.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef657dfab802224e671f5818e9a4935f9b1957ed18e58292690cc39e7a4092a3" checksum = "b6b1fc10dbac614ebc03540c9dbd60e83887fda27794998c6528f1782047d540"
[[package]] [[package]]
name = "cfg-if" name = "cfg-if"
@ -143,36 +143,6 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d5439c4ad607c3c23abf66de8c8bf57ba8adcd1f129e699851a6e43935d339d" checksum = "8d5439c4ad607c3c23abf66de8c8bf57ba8adcd1f129e699851a6e43935d339d"
[[package]]
name = "neopixel_avr"
version = "0.1.0"
dependencies = [
"arduino-hal",
"avr-device",
"embedded-hal 1.0.0",
"nb 1.1.0",
"neopixel_macros",
"panic-halt",
"proc-macro2",
"smart-leds",
"smart-leds-trait",
"ufmt",
]
[[package]]
name = "neopixel_macros"
version = "0.1.0"
dependencies = [
"proc-macro2",
"syn 2.0.58",
]
[[package]]
name = "panic-halt"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de96540e0ebde571dc55c73d60ef407c653844e6f9a1e2fdbd40c07b9252d812"
[[package]] [[package]]
name = "paste" name = "paste"
version = "1.0.15" version = "1.0.15"
@ -181,18 +151,18 @@ checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
[[package]] [[package]]
name = "proc-macro2" name = "proc-macro2"
version = "1.0.79" version = "1.0.95"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
dependencies = [ dependencies = [
"unicode-ident", "unicode-ident",
] ]
[[package]] [[package]]
name = "quote" name = "quote"
version = "1.0.36" version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
] ]
@ -208,9 +178,9 @@ dependencies = [
[[package]] [[package]]
name = "rustversion" name = "rustversion"
version = "1.0.19" version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
[[package]] [[package]]
name = "smart-leds" name = "smart-leds"
@ -230,6 +200,36 @@ dependencies = [
"rgb", "rgb",
] ]
[[package]]
name = "soft-serial"
version = "0.1.0"
dependencies = [
"arduino-hal",
"avr-device",
"smart-leds",
"static_pins",
]
[[package]]
name = "static_pins"
version = "0.1.0"
source = "git+https://gitea.doryan04.ru/TheEmbeddedRust/static_pins#e3e619c7abfe9af0c966f970c0aef8b7fb89fb59"
dependencies = [
"arduino-hal",
"static_pins_macros",
]
[[package]]
name = "static_pins_macros"
version = "0.1.0"
source = "git+https://gitea.doryan04.ru/TheEmbeddedRust/static_pins#e3e619c7abfe9af0c966f970c0aef8b7fb89fb59"
dependencies = [
"arduino-hal",
"proc-macro2",
"quote",
"syn 2.0.100",
]
[[package]] [[package]]
name = "syn" name = "syn"
version = "1.0.109" version = "1.0.109"
@ -243,9 +243,9 @@ dependencies = [
[[package]] [[package]]
name = "syn" name = "syn"
version = "2.0.58" version = "2.0.100"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687" checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -281,9 +281,9 @@ checksum = "e87a2ed6b42ec5e28cc3b94c09982969e9227600b2e3dcbc1db927a84c06bd69"
[[package]] [[package]]
name = "unicode-ident" name = "unicode-ident"
version = "1.0.16" version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
[[package]] [[package]]
name = "unwrap-infallible" name = "unwrap-infallible"

View File

@ -1,28 +1,30 @@
[package] [package]
name = "neopixel_avr" name = "soft-serial"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
panic-halt = "0.2.0"
ufmt = "0.2.0"
nb = "1.1.0"
embedded-hal = "1.0"
smart-leds-trait = "0.3.1"
smart-leds = "0.4.0" smart-leds = "0.4.0"
[dependencies.neopixel_macros]
path = "neopixel_macros"
[dependencies.avr-device]
version = "0.5.4"
features = ["atmega32u4"]
[dependencies.arduino-hal] [dependencies.arduino-hal]
git = "https://github.com/rahix/avr-hal" git = "https://github.com/rahix/avr-hal"
rev = "3e362624547462928a219c40f9ea8e3a64f21e5f" rev = "3e362624547462928a219c40f9ea8e3a64f21e5f"
features = ["sparkfun-promicro"] features = ["sparkfun-promicro"]
[build-dependencies.proc-macro2] [dependencies.static_pins]
version = "=1.0.79" git = "https://gitea.doryan04.ru/TheEmbeddedRust/static_pins"
[dependencies.avr-device]
version = "0.5.4"
[profile.dev]
panic = "abort"
codegen-units = 1
debug = true
lto = true
opt-level = "s"
[profile.release]
panic = "abort"
lto = true
opt-level = "s"

View File

@ -1,4 +1,4 @@
[toolchain] [toolchain]
channel = "nightly-2024-06-13" channel = "nightly-2024-06-13"
components = [ "rust-src" ] components = [ "rust-src" ]
profile = "complete" profile = "default"