first step in unifying the examples: one example folder

One example folder for all examples, including std and embedded examples
This commit is contained in:
Robin Mueller committed 2026-09-29 13:39:39 +02:00
1 parent bb8decfc74
commit 7cc2ff3ff9
130 files changed
+399 -368

No files matched your search

+1 -1
View File
@@ -4,5 +4,5 @@ version = "0.1.0"
edition = "2024"
[dependencies]
toml = "0.8"
toml = "1"
heck = "0.5"
+1 -1
View File
@@ -12,7 +12,7 @@ fn main() -> io::Result<()> {
let config_str = fs::read_to_string("components.toml").expect("Unable to read file");
let config: Value = toml::from_str(&config_str).expect("Unable to parse TOML");
let mut output = File::create("../satrs-example/src/ids.rs")?;
let mut output = File::create("../../examples/example-std/src/ids.rs")?;
generate_rust_code(&config, &mut output);
Ok(())