follow-along of SurrealDB - Rust Embedded Database - Quick Tutorial by Jeremy Chone
cargo install cargo-watch
cargo new rust-surrealdb
cd rust-surrealdb
cargo add tokio --features full
cargo add anyhow surrealdb
cargo watch -q -c -x "run -q"
- in VS Code enable fmt on save in Settings->Editor
- consider the ThunderClient extension for VSCode
brew install surrealdb/tap/surreal
surreal start --user root --pass root --log debug memory