29 lines
746 B
TOML
29 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 = ["rocket-db"] }
|
|
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"]
|