Cargo.toml 549 B

123456789101112131415161718192021222324252627
  1. [package]
  2. name = "bench"
  3. version = "0.1.0"
  4. edition = "2021"
  5. publish = false
  6. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  7. [dependencies]
  8. [dev-dependencies]
  9. thingbuf = { path = ".." }
  10. criterion = { version = "0.3.5", features = ["async_tokio"] }
  11. # for comparison benchmarks
  12. tokio = { version = "1.14.0", features = ["rt", "rt-multi-thread", "sync"] }
  13. crossbeam = "0.8.1"
  14. async-std = "1"
  15. futures = "0.3"
  16. [[bench]]
  17. name = "sync_mpsc"
  18. harness = false
  19. [[bench]]
  20. name = "async_mpsc"
  21. harness = false