future-proof-iot / RIOT-rs

RIOT-rs is an operating system for secure, memory-safe, low-power Internet of Things, written in Rust
Apache License 2.0
37 stars 12 forks source link

tracking: use of unstable features #298

Open kaspar030 opened 3 months ago

kaspar030 commented 3 months ago

We're aiming to build with stable Rust.

Currently, we're using these unstable features:

  1. can't do without:

  2. could do without:

    • [ ] type_alias_impl_trait => embassy uses this or pre-allocate futures memory. User facing!
    • [ ] const_mut_refs: used by ringbuffer
    • [ ] custom_test_frameworks: will go when we have migrated to defmt-test
    • [ ] doc_auto_cfg: used only when compiling documentation
    • [ ] error_in_core: accepted for merge
    • [ ] fn_traits
    • [ ] inline_const
    • [ ] naked_functions: used by riot-rs-threads

user facing means, those need to be enabled in application crates b/c they're used by macros or code we provide.

ROMemories commented 3 months ago

The current experimental sensor abstraction also relies on trait_upcasting. We may be able to work around that.