* chore: log examples with tracing-subscriber * chore: log [issues] with tracing-subscriber * chore: log [cli] with tracing-subscriber * feat: tracing will emit log if tracing-subscriber is not setup
Actix with SeaORM example app
Edit Cargo.toml
to use sqlx-mysql
or sqlx-postgres
.
[features]
default = ["sqlx-$DATABASE"]
Edit .env
to point to your database.
Run server with auto-reloading:
cargo install systemfd
systemfd --no-pid -s http::8000 -- cargo watch -x run