Cargo.toml 684 B

123456789101112131415161718192021222324252627282930313233
  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.3", features = ["checkpoint", "futures"] }
  13. # So that we can use `poll_fn` in tests.
  14. futures = "0.3"
  15. criterion = { version = "0.3.5", features = ["async_tokio"] }
  16. # for comparison benchmarks
  17. crossbeam = "0.8.1"
  18. tokio = { version = "1.14.0", features = ["rt", "sync"] }
  19. async-std = "1"
  20. [profile.test]
  21. opt-level = 3
  22. [[bench]]
  23. name = "sync_mpsc"
  24. harness = false
  25. [[bench]]
  26. name = "async_mpsc"
  27. harness = false