[package] name = "sea-orm-rocket-example" version = "0.1.0" authors = ["Sam Samai "] edition = "2018" publish = false [workspace] [dependencies] async-stream = { version = "^0.3" } async-trait = { version = "0.1" } futures = { version = "^0.3" } futures-util = { version = "^0.3" } rocket = { git = "https://github.com/SergioBenitez/Rocket.git", features = [ "json", ] } rocket_db_pools = { git = "https://github.com/SergioBenitez/Rocket.git" } rocket_dyn_templates = { git = "https://github.com/SergioBenitez/Rocket.git", features = [ "tera", ] } # remove `path = ""` in your own project sea-orm = { path = "../../", version = "^0.2.3", features = ["macros"], default-features = false } serde_json = { version = "^1" } [features] default = ["sqlx-postgres"] sqlx-mysql = ["sea-orm/sqlx-mysql", "rocket_db_pools/sqlx_mysql"] sqlx-postgres = ["sea-orm/sqlx-postgres", "rocket_db_pools/sqlx_postgres"]