Billy Chan 498c0154ca Restructure SeaORM migration
Bump codegen's sea-query version [cli]

Update CLI subcommand method

Move migration utility into sea-orm-migration
2022-05-09 12:30:55 +08:00

33 lines
609 B
TOML

[package]
name = "sea-orm-tonic-example"
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]
tonic = "0.7"
tokio = { version = "1.17", features = ["macros", "rt-multi-thread", "full"] }
entity = { path = "entity" }
migration = { path = "migration" }
prost = "0.10.0"
serde = "1.0"
[lib]
path = "./src/lib.rs"
[[bin]]
name="server"
path="./src/server.rs"
[[bin]]
name="client"
path="./src/client.rs"
[build-dependencies]
tonic-build = "0.7"