The starting points have been created. Sweet!

This commit is contained in:
2026-05-22 22:15:10 -05:00
parent f6dde557bb
commit 8917d1f81c
14 changed files with 39 additions and 0 deletions
+12
View File
@@ -3,4 +3,16 @@ name = "rnavp"
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
[features]
default= ["host"]
std = []
embassy = ["core_full"]
core = []
core_full = ["core_communication", "core_logic"]
core_communication = ["core"]
core_logic = ["core"]
host = ["std", "core_full"]
[dependencies] [dependencies]
View File
+3
View File
@@ -0,0 +1,3 @@
pub mod impls;
pub mod structs;
pub mod traits;
View File
View File
View File
View File
+4
View File
@@ -0,0 +1,4 @@
pub mod structs;
pub mod kinematics;
pub mod impls;
pub mod traits;
View File
View File
+2
View File
@@ -0,0 +1,2 @@
pub mod communication;
pub mod logic;
+8
View File
@@ -0,0 +1,8 @@
#[cfg(feature = "std")]
compile_error!(
"The 'std' feature is enabled, which is incompatible with 'embassy'. \n\
The 'host' feature (enabled by default) turns on 'std'. \n\
Please use '--no-default-features --features embassy' to build for MCU\n\
or verify that you have not included a different feature that requires'std'"
);
View File
+10
View File
@@ -0,0 +1,10 @@
#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(feature = "std")]
extern crate std;
mod core;
mod embassy;
mod host;