29 lines
710 B
TOML
29 lines
710 B
TOML
[package]
|
|
name = "sea-orm-graphql-example"
|
|
authors = ["Aaron Leopold <aaronleopold1221@gmail.com>"]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[workspace]
|
|
members = [".", "entity", "migration"]
|
|
|
|
[dependencies]
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
axum = "^0.5.1"
|
|
dotenv = "0.15.0"
|
|
async-graphql-axum = "^3.0.38"
|
|
entity = { path = "entity" }
|
|
migration = { path = "migration" }
|
|
|
|
[dependencies.sea-orm]
|
|
path = "../../" # remove this line in your own project
|
|
version = "^0.9.1" # sea-orm version
|
|
features = [
|
|
"runtime-tokio-native-tls",
|
|
# "sqlx-postgres",
|
|
# "sqlx-mysql",
|
|
"sqlx-sqlite"
|
|
]
|