* Update sea-orm-rocket dependencies * Update rocket example dependencies --------- Co-authored-by: Frederik Terstappen <freterstappen+gitlab@gmail.com>
35 lines
972 B
TOML
35 lines
972 B
TOML
[package]
|
|
name = "rocket-example-api"
|
|
version = "0.1.0"
|
|
authors = ["Sam Samai <sam@studio2pi.com.au>"]
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
async-stream = { version = "0.3" }
|
|
async-trait = { version = "0.1" }
|
|
rocket-okapi-example-service = { path = "../service" }
|
|
futures = { version = "0.3" }
|
|
futures-util = { version = "0.3" }
|
|
rocket = { version = "0.5", features = ["json"] }
|
|
rocket_cors = "0.6"
|
|
rocket_dyn_templates = { version = "0.2", features = ["tera"] }
|
|
rocket_okapi = { version = "0.9", features = [
|
|
"swagger",
|
|
"rapidoc",
|
|
"rocket_db_pools",
|
|
] }
|
|
serde_json = { version = "1" }
|
|
entity = { path = "../entity" }
|
|
migration = { path = "../migration" }
|
|
tokio = "1.41"
|
|
serde = "1.0"
|
|
dto = { path = "../dto" }
|
|
|
|
[dependencies.sea-orm-rocket]
|
|
path = "../../../sea-orm-rocket/lib" # remove this line in your own project and use the version line
|
|
features = [
|
|
"rocket_okapi",
|
|
] # enables rocket_okapi so to have open api features enabled
|
|
# version = "0.5"
|