* 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
33 lines
745 B
TOML
33 lines
745 B
TOML
[package]
|
|
name = "sea-orm-actix-example"
|
|
version = "0.1.0"
|
|
authors = ["Sam Samai <sam@studio2pi.com.au>"]
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[workspace]
|
|
|
|
[dependencies]
|
|
actix-http = "2"
|
|
actix-web = "3"
|
|
actix-flash = "0.2"
|
|
actix-files = "0.5"
|
|
futures = { version = "^0.3" }
|
|
futures-util = { version = "^0.3" }
|
|
tera = "1.8.0"
|
|
dotenv = "0.15"
|
|
listenfd = "0.3.3"
|
|
serde = "1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
[dependencies.sea-orm]
|
|
path = "../../" # remove this line in your own project
|
|
version = "^0.4.0"
|
|
features = ["macros", "runtime-async-std-native-tls", "debug-print"]
|
|
default-features = false
|
|
|
|
[features]
|
|
default = ["sqlx-mysql"]
|
|
sqlx-mysql = ["sea-orm/sqlx-mysql"]
|
|
sqlx-postgres = ["sea-orm/sqlx-postgres"]
|