Skip to content

Commit d2fea9b

Browse files
authored
Merge pull request #4 from illumi-engineering/feature/data-deserializer
Use bincode for data instead of serde
2 parents 62e710c + c8c210d commit d2fea9b

File tree

12 files changed

+194
-898
lines changed

12 files changed

+194
-898
lines changed

Cargo.lock

+50-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ members = [
77
]
88

99
[workspace.dependencies]
10+
osp_data = { version = "=0.0.1", path = "crates/data" }
1011
osp_protocol = { version = "=0.0.1", path = "crates/protocol" }
1112
osp_server_sdk = { version = "=0.0.1", path = "crates/server" }
1213
osp_client_sdk = { version = "=0.0.1", path = "crates/client" }

crates/data/Cargo.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
2-
name = "data"
3-
version = "0.1.0"
2+
name = "osp_data"
3+
version = "0.0.1"
44
edition = "2021"
55

66
[dependencies]
@@ -9,3 +9,5 @@ serde = { version = "1.0.203" }
99
tokio = { version = "1", features = ["full"] }
1010
tokio-byteorder = "0.3.0"
1111
bytes = "1.6.0"
12+
bincode = "2.0.0-rc.3"
13+
derive-where = "1.2.7"

crates/data/src/de.rs

-245
This file was deleted.

0 commit comments

Comments
 (0)