can-viewer 0.2.2

CAN Data Viewer with MDF4 and SocketCAN support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
fn main() {
    // Fail early if dist is missing (helpful error for publishers)
    if !std::path::Path::new("dist/index.html").exists() {
        panic!(
            "\n\
            ══════════════════════════════════════════════════════════════\n\
            ERROR: dist/ folder missing\n\
            \n\
            Run `npm run build` first to build the frontend.\n\
            \n\
            For development: `npx tauri dev` (builds frontend automatically)\n\
            For publishing:  `npm run build && cargo publish`\n\
            ══════════════════════════════════════════════════════════════\n"
        );
    }

    tauri_build::build()
}