Billy Chan 50f42075ab
Update deployment script to update example automatically (#865)
* Update deployment script

* update examples

* Split deployment scripts

* Fixup

* Typo
2022-07-12 12:02:24 +08:00

39 lines
964 B
TOML

[package]
name = "sea-orm-rocket-example"
version = "0.1.0"
authors = ["Sam Samai <sam@studio2pi.com.au>"]
edition = "2021"
publish = false
[workspace]
members = [".", "entity", "migration"]
[dependencies]
async-stream = { version = "^0.3" }
async-trait = { version = "0.1" }
futures = { version = "^0.3" }
futures-util = { version = "^0.3" }
rocket = { version = "0.5.0-rc.1", features = [
"json",
] }
rocket_dyn_templates = { version = "0.1.0-rc.1", features = [
"tera",
] }
serde_json = { version = "^1" }
entity = { path = "entity" }
migration = { path = "migration" }
[dependencies.sea-orm-rocket]
path = "../../sea-orm-rocket/lib" # remove this line in your own project and use the git line
# git = "https://github.com/SeaQL/sea-orm"
[dependencies.sea-orm]
path = "../../" # remove this line in your own project
version = "^0.9.0" # sea-orm version
features = [
"runtime-tokio-native-tls",
"sqlx-postgres",
# "sqlx-mysql",
# "sqlx-sqlite",
]