mirror of
https://github.com/tlsnotary/tlsn-utils.git
synced 2026-01-09 20:57:56 -05:00
* feat: uid-mux * fix deadlock * wake up after signalling close * appease rustfmt * doc: Create -> Creates * simplify Waker usage * test more cases, handle errors better * remove tracing-subscriber dep * Apply suggestions from code review Co-authored-by: dan <themighty1@users.noreply.github.com> * feat(uid-mux): framed mux (#29) * feat(uid-mux): framed mux * add test utils * Apply suggestions from code review Co-authored-by: dan <themighty1@users.noreply.github.com> --------- Co-authored-by: dan <themighty1@users.noreply.github.com> --------- Co-authored-by: dan <themighty1@users.noreply.github.com>
38 lines
1.0 KiB
TOML
38 lines
1.0 KiB
TOML
[package]
|
|
name = "serio"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = ["compat", "channel", "codec", "bincode"]
|
|
compat = ["dep:futures-sink"]
|
|
channel = ["dep:futures-channel"]
|
|
codec = ["dep:tokio-util", "dep:futures-io"]
|
|
bincode = ["dep:bincode"]
|
|
|
|
[dependencies]
|
|
bytes.workspace = true
|
|
serde.workspace = true
|
|
pin-project-lite.workspace = true
|
|
futures-core.workspace = true
|
|
futures-io = { workspace = true, optional = true }
|
|
futures-channel = { workspace = true, optional = true }
|
|
futures-sink = { workspace = true, optional = true }
|
|
futures-util = { workspace = true, features = ["bilock", "unstable"] }
|
|
tokio-util = { workspace = true, features = [
|
|
"codec",
|
|
"compat",
|
|
], optional = true }
|
|
bincode = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
futures.workspace = true
|
|
serde = { workspace = true, features = ["derive"] }
|
|
tokio = { workspace = true, features = ["full"] }
|
|
tokio-util = { workspace = true, features = ["codec"] }
|
|
|
|
[[example]]
|
|
name = "tokio_codec"
|
|
path = "examples/tokio_codec.rs"
|
|
required-features = ["codec"]
|