2021-04-02 19:07:39 +02:00
|
|
|
[package]
|
|
|
|
name = "rust-hello-world"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Christian Amsüss <chrysn@fsfe.org>"]
|
|
|
|
edition = "2018"
|
|
|
|
resolver = "2"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["staticlib"]
|
|
|
|
|
2022-09-23 00:46:32 +02:00
|
|
|
[profile.release]
|
|
|
|
# Setting the panic mode has little effect on the built code (as Rust on RIOT
|
|
|
|
# supports no unwinding), but setting it allows builds on native without using
|
|
|
|
# the nightly-only lang_items feature.
|
|
|
|
panic = "abort"
|
|
|
|
|
2021-04-02 19:07:39 +02:00
|
|
|
[dependencies]
|
2024-08-22 17:33:40 +02:00
|
|
|
riot-wrappers = { version = "0.9.0", features = [ "set_panic_handler" ] }
|
2022-07-09 21:06:03 +02:00
|
|
|
|
2024-02-17 13:08:16 +01:00
|
|
|
# While currently this example does not use any RIOT modules implemented in
|
2022-07-09 21:06:03 +02:00
|
|
|
# Rust, that may change; it is best practice for any RIOT application that has
|
|
|
|
# its own top-level Rust crate to include rust_riotmodules from inside
|
|
|
|
# RIOTBASE.
|
|
|
|
rust_riotmodules = { path = "../../sys/rust_riotmodules/" }
|