diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..fab9b7a --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,12 @@ +{ + "rust-analyzer.cargo.cfgs": { + "FASTWAVE_PLATFORM": "TAURI", + // "FASTWAVE_PLATFORM": "BROWSER", + }, + // https://github.com/rustwasm/wasm-bindgen/issues/2339#issuecomment-2147636233 + "rust-analyzer.cargo.extraEnv": { + "RUSTFLAGS": "--cfg=web_sys_unstable_apis" + }, + // to prevent rebuilding from scratch on each change + "rust-analyzer.cargo.target": "wasm32-unknown-unknown" +} diff --git a/README.md b/README.md index c798955..6cbc9db 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,27 @@ --- +

Default state - Dark (new design)

+

+ Fastwave - Default state - Dark (not implemented yet) +

+ +

Loaded files - Dark (new design)

+

+ Fastwave - Loaded files - Dark (not implemented yet) +

+ +

Default state - Light (new design)

+

+ Fastwave - Default state - Light (not implemented yet) +

+ +

Loaded files - Light (new design)

+

+ Fastwave - Loaded files - Light (not implemented yet) +

+ +

Browser (Firefox)

Fastwave - Browser (Firefox) @@ -33,7 +54,7 @@ Fastwave - Load and save selected variables

-

Decoders Demo

+

Decoders (Plugins) Demo

Fastwave - Decoders demo

@@ -97,7 +118,13 @@ Troubleshooting: 1. `makers format` +--- +### Rebuild Decoders: + +See `test_files/components/[language]_decoder/README.md` + +--- ### Test files diff --git a/backend/favicon.html b/backend/favicon.html new file mode 100644 index 0000000..9ef415c --- /dev/null +++ b/backend/favicon.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/backend/src/main.rs b/backend/src/main.rs index fe6bfd7..c9df718 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -3,6 +3,7 @@ use moon::*; async fn frontend() -> Frontend { Frontend::new() .title("FastWave") + .append_to_head(include_str!("../favicon.html")) // realfavicongenerator.net .append_to_head(concat!("")) .append_to_head(concat!( "