2021-08-30 22:34:02 +08:00

27 lines
746 B
TOML

[package]
name = "rocket-example"
version = "0.1.0"
edition = "2018"
publish = false
[workspace]
[dependencies]
rocket = { git = "https://github.com/SergioBenitez/Rocket.git", features = ["json"] }
rocket_db_pools = { git = "https://github.com/SergioBenitez/Rocket.git", features = [] }
sea-orm = { path = "../../", features = ["web-api-rocket"] }
sea-query = { version = "^0.12.8" }
serde_json = { version = "^1" }
futures = { version = "^0.3" }
async-stream = { version = "^0.3" }
futures-util = { version = "^0.3" }
[dependencies.sqlx]
version = "0.5.1"
default-features = false
features = ["macros", "offline", "migrate"]
[features]
default = ["sqlx-postgres"]
sqlx-postgres = ["sea-orm/sqlx-postgres"]
sqlx-mysql = ["sea-orm/sqlx-mysql"]