Portfolio/api/Cargo.toml
Sebastian Pravda 5bd9535b85 refactor: use DATABASE_URL env variable
for db connection instead of url var in Rocket.toml
2022-10-24 19:20:07 +02:00

26 lines
546 B
TOML

[package]
name = "portfolio-api"
version = "0.1.0"
edition = "2021"
publish = false
[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.2", features = [
"json",
] }
dotenv = "0.15.0"
serde_json = { version = "^1" }
portfolio-entity = { path = "../entity" }
portfolio-migration = { path = "../migration" }
portfolio-core = { path = "../core" }
tokio = "1.21.2"
[dependencies.sea-orm-rocket]
version = "0.5.1"