First commit fixes compiliation issues that I encountered/updates to newer versions of crates, but hasn't been tested as I don't have code running on my MCU yet. I'm new to rust, so this is my best-guess as to how it's supposed to work.
Second commit adds comments to Cargo.toml/Xargo.toml as an alterative to copy-pasting from the examples or using cargo add. (it's what I used to get everything to work, so that should include known-good versions and whatnot.)
First commit fixes compiliation issues that I encountered/updates to newer versions of crates, but hasn't been tested as I don't have code running on my MCU yet. I'm new to rust, so this is my best-guess as to how it's supposed to work.
Second commit adds comments to Cargo.toml/Xargo.toml as an alterative to copy-pasting from the examples or using cargo add. (it's what I used to get everything to work, so that should include known-good versions and whatnot.)