1234567891011121314151617181920212223242526272829303132333435 |
- [package]
- name = "thingbuf"
- version = "0.1.0"
- edition = "2021"
- # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
- [features]
- std = ["alloc"]
- alloc = []
- default = ["std"]
- [dependencies]
- [dev-dependencies]
- loom = { version = "0.5.3", features = ["checkpoint", "futures"] }
- tracing-subscriber = { version = "0.3", default-features = false, features = ["std", "fmt"] }
- tracing = { version = "0.1", default-features = false, features = ["std"] }
- # So that we can use `poll_fn` in tests.
- futures = "0.3"
- criterion = { version = "0.3.5", features = ["async_tokio"] }
- # for comparison benchmarks
- crossbeam = "0.8.1"
- tokio = { version = "1.14.0", features = ["rt", "sync"] }
- async-std = "1"
- [profile.test]
- opt-level = 3
- [[bench]]
- name = "sync_mpsc"
- harness = false
- [[bench]]
- name = "async_mpsc"
- harness = false
|