Add comments to Cargo.toml/Xargo.toml.

This should make it easier to comment/uncomment stuff for the various
examples.
This commit is contained in:
Kitlith
2018-02-24 18:28:53 -08:00
parent 9f573d73b2
commit d002e0f239
2 changed files with 15 additions and 2 deletions

View File

@@ -11,10 +11,20 @@ version = "0.2.4"
[dependencies]
cortex-m = "0.4.0"
cortex-m-semihosting = "0.2.0"
# alloc-cortex-m release doesn't use linked_list_allocator v0.5.0 yet.
# Uncomment for the allocator example.
#alloc-cortex-m = { git = "https://github.com/japaric/alloc-cortex-m.git" }
[dependencies.cortex-m-rt]
features = ["abort-on-panic"]
version = "0.3.12"
# Comment for the panic example.
features = ["abort-on-panic"]
# Uncomment for the device example.
# [dependencies.stm32f103xx]
# features = ["rt"]
# version = "0.8.0"
# disable both incremental compilation and parallel codegen to reduce the chances of running into
# rust-lang/rust#47074