Cargo.toml 614 B

12345678910111213141516171819202122232425262728293031
  1. [package]
  2. name = "thingbuf"
  3. version = "0.1.0"
  4. edition = "2021"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [features]
  7. std = ["alloc"]
  8. alloc = []
  9. default = ["std"]
  10. [dependencies]
  11. [dev-dependencies]
  12. loom = { version = "0.5", features = ["checkpoint", "futures"] }
  13. # So that we can use `poll_fn` in tests.
  14. futures-util = "0.3"
  15. criterion = "0.3.5"
  16. # for comparison benchmarks
  17. crossbeam = "0.8.1"
  18. [profile.test]
  19. opt-level = 3
  20. [patch.crates-io]
  21. loom = { git = "https://github.com/tokio-rs/loom", branch = "master"}
  22. [[bench]]
  23. name = "sync_mpsc"
  24. harness = false