[package] name = "tonic_grpc_example" version = "0.1.0" edition = "2021" # 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" } sea-orm = { version = "0.7.1", features = [ "sqlx-postgres", "runtime-tokio-rustls", "macros" ], default-features = false } 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"