Skip to content

Commit c113fc8

Browse files
committed
Cargo.toml: more semver for avr_delay
In an attempt to publish it. Current error: | $ AVR_CPU_FREQUENCY_HZ=8_000_000 cargo +nightly publish --target ./avr-atmega328p.json -Z build-std=core | Updating crates.io index | Packaging ruduino v0.4.0 (/home/gs0604/src/rust/RustAVR/ruduino) | error: failed to prepare local package for uploading | | Caused by: | failed to select a version for the requirement `avr_delay = "^0.4"` | candidate versions found which didn't match: 0.3.2, 0.3.1, 0.3.0, ... | location searched: crates.io index | required by package `ruduino v0.4.0 (/home/gs0604/src/rust/RustAVR/ruduino)`
1 parent ba9e788 commit c113fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ all-mcus = []
2929

3030
[dependencies]
3131
avr-config = { version = "2.0", features = ["cpu-frequency"] }
32-
avr_delay = { git = "https://github.com/avr-rust/delay", version = "0.4" }
32+
avr_delay = { git = "https://github.com/avr-rust/delay", version = "0.4.0" }
3333
avr-std-stub = { version = "1.0", optional = true }
3434
const_env--value = "0.1"
3535
target-cpu-macro = "0.1"

0 commit comments

Comments
 (0)