35 lines
1013 B
TOML
35 lines
1013 B
TOML
[package]
|
|
name = "rocket-example"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
publish = false
|
|
[workspace]
|
|
[dependencies]
|
|
rocket = { path = "../../../Rocket/core/lib", features = ["json"] }
|
|
# rocket = { git = "https://github.com/SergioBenitez/Rocket.git", branch = "master", features = [
|
|
# "json",
|
|
# ] }
|
|
# async-std = { version = "^1.9", features = ["attributes"] }
|
|
sea-orm = { path = "../../", features = ["sqlx-all"] }
|
|
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"]
|
|
|
|
# [dependencies.rocket_db_pools]
|
|
# git = "https://github.com/SergioBenitez/Rocket"
|
|
# branch = "master"
|
|
# features = ["sea_orm"]
|
|
[dependencies.rocket_db_pools]
|
|
path = "../../../Rocket/contrib/db_pools/lib"
|
|
# git = "https://github.com/samsamai/Rocket.git"
|
|
# branch = "ss/seaorm-contrib"
|
|
features = ["seaorm_sqlx_sqlite"]
|