Skip to content

Commit

Permalink
feat: new transport based on tokio::sync::mpsc
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Jun 25, 2024
1 parent 8144fde commit c59d315
Show file tree
Hide file tree
Showing 5 changed files with 492 additions and 1 deletion.
12 changes: 12 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ interprocess = { version = "2.1", features = ["tokio"], optional = true }
hex = "0.4.3"
futures = { version = "0.3.30", optional = true }
anyhow = "1.0.73"
tokio-stream = { version = "0.1", optional = true }

[dependencies.educe]
# This is an unused dependency, it is needed to make the minimal
Expand All @@ -59,11 +60,12 @@ futures-buffered = "0.2.4"
hyper-transport = ["dep:flume", "dep:hyper", "dep:bincode", "dep:bytes", "dep:tokio-serde", "dep:tokio-util"]
quinn-transport = ["dep:flume", "dep:quinn", "dep:bincode", "dep:tokio-serde", "dep:tokio-util"]
flume-transport = ["dep:flume"]
async-channel-transport = ["dep:tokio-util", "dep:tokio-stream"]
interprocess-transport = ["quinn-transport", "quinn-flume-socket", "dep:quinn-udp", "dep:interprocess", "dep:bytes", "dep:tokio-util", "dep:futures"]
combined-transport = []
quinn-flume-socket = ["dep:flume", "dep:quinn", "dep:quinn-udp", "dep:bytes", "dep:tokio-util"]
macros = []
default = ["flume-transport"]
default = ["flume-transport", "async-channel-transport"]

[package.metadata.docs.rs]
all-features = true
Expand Down
Loading

0 comments on commit c59d315

Please sign in to comment.