2023-02-01 23:46:42 +08:00

31 lines
646 B
TOML

[package]
name = "graphql-example-core"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
entity = { path = "../entity" }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "0.11.0-rc.1" # sea-orm version
features = [
"debug-print",
"runtime-async-std-native-tls",
# "sqlx-postgres",
# "sqlx-mysql",
"sqlx-sqlite",
]
[dev-dependencies]
tokio = { version = "1.20.0", features = ["macros", "rt"] }
[features]
mock = ["sea-orm/mock"]
[[test]]
name = "mock"
required-features = ["mock"]