diff --git a/Cargo.toml b/Cargo.toml index 34876e3e83..33bffe79e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,3 +39,4 @@ exclude = [ # The RAVEDUDE! Yeah! "ravedude", ] +resolver = "2" diff --git a/arduino-hal/Cargo.toml b/arduino-hal/Cargo.toml index 6ba3f6df75..5cc0575f40 100644 --- a/arduino-hal/Cargo.toml +++ b/arduino-hal/Cargo.toml @@ -2,7 +2,7 @@ name = "arduino-hal" version = "0.1.0" authors = ["Rahix "] -edition = "2018" +edition = "2021" [features] default = ["rt"] diff --git a/avr-hal-generic/Cargo.toml b/avr-hal-generic/Cargo.toml index cfbcab19d0..b1677d60d4 100644 --- a/avr-hal-generic/Cargo.toml +++ b/avr-hal-generic/Cargo.toml @@ -2,7 +2,7 @@ name = "avr-hal-generic" version = "0.1.0" authors = ["Rahix "] -edition = "2018" +edition = "2021" [dependencies] cfg-if = "0.1.7" diff --git a/examples/arduino-diecimila/Cargo.toml b/examples/arduino-diecimila/Cargo.toml index 140cab04d6..808e8a7dee 100644 --- a/examples/arduino-diecimila/Cargo.toml +++ b/examples/arduino-diecimila/Cargo.toml @@ -2,7 +2,7 @@ name = "arduino-diecimila-examples" version = "0.0.0" authors = ["Rahix "] -edition = "2018" +edition = "2021" publish = false [dependencies] diff --git a/examples/arduino-leonardo/Cargo.toml b/examples/arduino-leonardo/Cargo.toml index c69981b0b0..d96ad29a4b 100644 --- a/examples/arduino-leonardo/Cargo.toml +++ b/examples/arduino-leonardo/Cargo.toml @@ -2,7 +2,7 @@ name = "arduino-leonardo-examples" version = "0.0.0" authors = ["Rahix "] -edition = "2018" +edition = "2021" publish = false [dependencies] diff --git a/examples/arduino-mega1280/Cargo.toml b/examples/arduino-mega1280/Cargo.toml index 75064b1595..7b2b3fa8e1 100644 --- a/examples/arduino-mega1280/Cargo.toml +++ b/examples/arduino-mega1280/Cargo.toml @@ -2,7 +2,7 @@ name = "arduino-mega1280-examples" version = "0.0.0" authors = ["Rahix "] -edition = "2018" +edition = "2021" publish = false [dependencies] diff --git a/examples/arduino-mega2560/Cargo.toml b/examples/arduino-mega2560/Cargo.toml index 223b769eb4..48dc391cd6 100644 --- a/examples/arduino-mega2560/Cargo.toml +++ b/examples/arduino-mega2560/Cargo.toml @@ -2,7 +2,7 @@ name = "arduino-mega2560-examples" version = "0.0.0" authors = ["Rahix "] -edition = "2018" +edition = "2021" publish = false [dependencies] diff --git a/examples/arduino-nano/Cargo.toml b/examples/arduino-nano/Cargo.toml index dbc11c404a..dc68604bf3 100644 --- a/examples/arduino-nano/Cargo.toml +++ b/examples/arduino-nano/Cargo.toml @@ -2,7 +2,7 @@ name = "arduino-nano-examples" version = "0.0.0" authors = ["David R. Morrison "] -edition = "2018" +edition = "2021" publish = false [dependencies] diff --git a/examples/arduino-uno/Cargo.toml b/examples/arduino-uno/Cargo.toml index ad435eee7f..1b7e9c7431 100644 --- a/examples/arduino-uno/Cargo.toml +++ b/examples/arduino-uno/Cargo.toml @@ -2,7 +2,7 @@ name = "arduino-uno-examples" version = "0.0.0" authors = ["Rahix "] -edition = "2018" +edition = "2021" publish = false [dependencies] diff --git a/examples/nano168/Cargo.toml b/examples/nano168/Cargo.toml index 9b50fbf8f2..2ff8e654c3 100644 --- a/examples/nano168/Cargo.toml +++ b/examples/nano168/Cargo.toml @@ -3,7 +3,7 @@ name = "nano168-examples" description = "Examples for the arduino clones with Atmega168 chip" version = "0.0.0" authors = ["David R. Morrison ", "Franz Dietrich "] -edition = "2018" +edition = "2021" publish = false [dependencies] diff --git a/examples/sparkfun-promicro/Cargo.toml b/examples/sparkfun-promicro/Cargo.toml index ec66bcc38b..6ba4fc9780 100644 --- a/examples/sparkfun-promicro/Cargo.toml +++ b/examples/sparkfun-promicro/Cargo.toml @@ -2,7 +2,7 @@ name = "sparkfun-promicro-examples" version = "0.0.0" authors = ["Rahix "] -edition = "2018" +edition = "2021" publish = false [dependencies] diff --git a/examples/sparkfun-promini-5v/Cargo.toml b/examples/sparkfun-promini-5v/Cargo.toml index 36909cef1e..3e4e884d61 100644 --- a/examples/sparkfun-promini-5v/Cargo.toml +++ b/examples/sparkfun-promini-5v/Cargo.toml @@ -2,7 +2,7 @@ name = "sparkfun-promini-5v-examples" version = "0.0.0" authors = ["Rahix "] -edition = "2018" +edition = "2021" publish = false [dependencies] diff --git a/examples/trinket-pro/Cargo.toml b/examples/trinket-pro/Cargo.toml index 7175198072..a59140e85f 100644 --- a/examples/trinket-pro/Cargo.toml +++ b/examples/trinket-pro/Cargo.toml @@ -2,7 +2,7 @@ name = "trinket-pro-examples" version = "0.0.0" authors = ["Gaute Hope "] -edition = "2018" +edition = "2021" publish = false [dependencies] diff --git a/examples/trinket/Cargo.toml b/examples/trinket/Cargo.toml index 168a6efb93..eb94cb9dcd 100644 --- a/examples/trinket/Cargo.toml +++ b/examples/trinket/Cargo.toml @@ -2,7 +2,7 @@ name = "trinket-examples" version = "0.0.0" authors = ["Jan Paw "] -edition = "2018" +edition = "2021" publish = false [dependencies] diff --git a/mcu/atmega-hal/Cargo.toml b/mcu/atmega-hal/Cargo.toml index 564163ea92..4a08261b40 100644 --- a/mcu/atmega-hal/Cargo.toml +++ b/mcu/atmega-hal/Cargo.toml @@ -2,7 +2,7 @@ name = "atmega-hal" version = "0.1.0" authors = ["Rahix "] -edition = "2018" +edition = "2021" [features] rt = ["avr-device/rt"] diff --git a/mcu/attiny-hal/Cargo.toml b/mcu/attiny-hal/Cargo.toml index e6929f92fd..c8aaf6cbaf 100644 --- a/mcu/attiny-hal/Cargo.toml +++ b/mcu/attiny-hal/Cargo.toml @@ -2,7 +2,7 @@ name = "attiny-hal" version = "0.1.0" authors = ["Rahix "] -edition = "2018" +edition = "2021" [features] rt = ["avr-device/rt"] diff --git a/ravedude/Cargo.toml b/ravedude/Cargo.toml index 52dd7c9dd8..786f74ba78 100644 --- a/ravedude/Cargo.toml +++ b/ravedude/Cargo.toml @@ -2,7 +2,7 @@ name = "ravedude" version = "0.1.6" authors = ["Rahix "] -edition = "2018" +edition = "2021" description = "Tool to easily flash code onto an AVR microcontroller with avrdude" readme = "README.md" repository = "https://github.com/Rahix/avr-hal/tree/main/ravedude"