feat(build): Better support for custom codecs (#999)

BREAKING CHANGE: `CODEC_PATH` moved from const to fn
This commit is contained in:
Brandon Williams
2022-05-05 12:52:03 -04:00
committed by GitHub
parent 1b0b525115
commit de2e4ac077
10 changed files with 694 additions and 21 deletions
+8
View File
@@ -186,6 +186,14 @@ path = "src/streaming/client.rs"
name = "streaming-server"
path = "src/streaming/server.rs"
[[bin]]
name = "json-codec-client"
path = "src/json-codec/client.rs"
[[bin]]
name = "json-codec-server"
path = "src/json-codec/server.rs"
[dependencies]
async-stream = "0.3"
futures = { version = "0.3", default-features = false, features = ["alloc"] }