Bradyphrenia / biene

elektronische Stockkarte
1 stars 0 forks source link

Wip diesel #2

Closed kingkaos closed 9 months ago

kingkaos commented 11 months ago

Changed the database crate from postgres to diesel. Furthermore first visualizations of 'durchsicht' is possible.

Bradyphrenia commented 9 months ago

steffen@iMac biene % npm run tauri dev

bees@0.0.0 tauri tauri dev

 Running BeforeDevCommand (`npm run dev`)

bees@0.0.0 dev vite

VITE v4.2.0 ready in 330 ms

➜ Local: http://localhost:1420/ ➜ Network: use --host to expose Info Watching /Users/steffen/IdeaProjects/biene/src-tauri for changes... Compiling bees v0.1.0 (/Users/steffen/IdeaProjects/biene/src-tauri) error[E0583]: file not found for module communication --> src/main.rs:7:1 7 mod communication; ^^^^^^^^^^^^^^^^^^

= help: to create the module communication, create file "src/communication.rs" or "src/communication/mod.rs"

error: expected one of ! or ::, found keyword impl --> src/database/structs.rs:18:1 | 17 | cd | - expected one of ! or :: 18 | impl Default for Database { | ^^^^ unexpected token

error: unexpected closing delimiter: } --> src/frontend/commands.rs:56:1 | 43 | ) -> String { | - this opening brace... ... 52 | } | - ...matches this closing brace ... 56 | } | ^ unexpected closing delimiter

For more information about this error, try rustc --explain E0583. error: could not compile bees (bin "bees") due to 3 previous errors

Bradyphrenia commented 9 months ago

Die Installation bricht wie oben ab. Ich habe leider keine Ahnung, was ich tun müßte.

Bradyphrenia commented 9 months ago

mod communication -> ist ein Rust Modul? von Dir?