Skip to content

Commit 1cf607c

Browse files
committed
split in common and server crates
1 parent 0421818 commit 1cf607c

File tree

11 files changed

+45
-18
lines changed

11 files changed

+45
-18
lines changed

collector/Cargo.lock

Lines changed: 14 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

collector/Cargo.toml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
[package]
2-
name = "ddcollector"
3-
version = "0.1.0"
4-
edition = "2021"
1+
[workspace]
2+
members = [
3+
"common",
4+
"server"
5+
]
56

67
[profile.release]
78
codegen-units = 1
@@ -11,10 +12,3 @@ panic = "abort"
1112
strip = true
1213

1314
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
14-
15-
[dependencies]
16-
async-trait = "0.1.64"
17-
hashbrown = "0.13.2"
18-
hyper = { version = "0.14.24", features = ["full"] }
19-
rmp = "0.8.11"
20-
tokio = { version = "1.25.0", features = ["full"] }

collector/common/Cargo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
name = "common"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]
9+
async-trait = "0.1.64"
10+
hashbrown = "0.13.2"
11+
hyper = { version = "0.14.24", features = ["full"] }
12+
rmp = "0.8.11"
13+
tokio = { version = "1.25.0", features = ["full"] }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

collector/server/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[package]
2+
name = "server"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]
9+
common = { path = "../common" }
10+
hyper = "0.14.24"
11+
tokio = "1.25.0"

0 commit comments

Comments
 (0)