2021-10-12 03:10:33 +08:00

36 lines
890 B
TOML

[package]
name = "sea-orm-rocket-example"
version = "0.1.0"
authors = ["Sam Samai <sam@studio2pi.com.au>"]
edition = "2018"
publish = false
[workspace]
[dependencies]
async-stream = { version = "^0.3" }
async-trait = { version = "0.1" }
futures = { version = "^0.3" }
futures-util = { version = "^0.3" }
rocket = { git = "https://github.com/SergioBenitez/Rocket.git", features = [
"json",
] }
rocket_dyn_templates = { git = "https://github.com/SergioBenitez/Rocket.git", features = [
"tera",
] }
serde_json = { version = "^1" }
[dependencies.sea-orm]
path = "../../" # remove this line in your own project
version = "^0.2.3"
features = ["macros", "runtime-tokio-native-tls"]
default-features = false
[dependencies.sea-orm-rocket]
path = "../../sea-orm-rocket/lib"
[features]
default = ["sqlx-postgres"]
sqlx-mysql = ["sea-orm/sqlx-mysql"]
sqlx-postgres = ["sea-orm/sqlx-postgres"]