1
- [package ]
2
- name = " ttrpc"
3
- version = " 0.8.4"
4
- authors = [" The AntFin Kata Team <kata@list.alibaba-inc.com>" ]
1
+ [workspace ]
2
+ members = [
3
+ " ./compiler" ,
4
+ " ./ttrpc-codegen" ,
5
+ " ./example" ,
6
+ " ./"
7
+ ]
8
+ resolver = " 2"
9
+
10
+ [workspace .package ]
5
11
edition = " 2018"
6
12
license = " Apache-2.0"
7
- keywords = [" ttrpc" , " protobuf" , " rpc" ]
8
13
readme = " README.md"
9
14
repository = " https://github.com/containerd/ttrpc-rust"
10
15
homepage = " https://github.com/containerd/ttrpc-rust"
16
+ authors = [" The AntFin Kata Team <kata@list.alibaba-inc.com>" ]
17
+
18
+ [workspace .dependencies ]
19
+ # The dependencies in this section can be used by the crates in this
20
+ # workspace by specifying `workspace = true` instead of the crate
21
+ # version. For example, for protobuf:
22
+ # protobuf = { workspace = true }
23
+ ttrpc = { version = " 0.8.4" , path = " ./" }
24
+ ttrpc-codegen = { version = " 0.5.0" , path = " ./ttrpc-codegen" }
25
+ ttrpc-compiler = { version = " 0.7.0" , path = " ./compiler" }
26
+ protobuf = " 3.7.2"
27
+ protobuf-codegen = " 3.7.2"
28
+ protobuf-support = " 3.7.2"
29
+
30
+ [package ]
31
+ name = " ttrpc"
32
+ version = " 0.8.4"
33
+ authors = { workspace = true }
34
+ edition = { workspace = true }
35
+ license = { workspace = true }
36
+ repository = { workspace = true }
37
+ homepage = { workspace = true }
38
+ keywords = [" ttrpc" , " protobuf" , " rpc" ]
39
+ readme = " README.md"
11
40
description = " A Rust version of ttrpc."
12
41
rust-version = " 1.70"
13
42
14
43
[dependencies ]
15
- protobuf = { version = " 3.7.2 " }
44
+ protobuf = { workspace = true }
16
45
libc = { version = " 0.2.59" , features = [ " extra_traits" ] }
17
46
nix = " 0.26.2"
18
47
log = " 0.4"
@@ -33,7 +62,7 @@ tokio-vsock = { version = "0.7.0", optional = true }
33
62
[build-dependencies ]
34
63
# lock home to avoid conflict with latest version
35
64
home = " =0.5.9"
36
- protobuf-codegen = " 3.7.2 "
65
+ protobuf-codegen = { workspace = true }
37
66
38
67
[features ]
39
68
default = [" sync" ]
0 commit comments