Cargo.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [package]
  2. name = "cros_async"
  3. version = "0.1.1"
  4. authors = ["The ChromiumOS Authors"]
  5. edition = "2021"
  6. [features]
  7. tokio = ["dep:tokio"]
  8. [dependencies]
  9. async-trait = "0.1.36"
  10. async-task = "4"
  11. cfg-if = "1.0.0"
  12. intrusive-collections = "0.9"
  13. libc = "0.2"
  14. once_cell = "1.7.2"
  15. paste = "1.0"
  16. pin-utils = "0.1.0-alpha.4"
  17. remain = "0.2"
  18. slab = "0.4"
  19. sync = { path = "../common/sync" } # provided by ebuild
  20. base = { path = "../base" } # provided by ebuild
  21. thiserror = "1.0.20"
  22. audio_streams = { path = "../common/audio_streams" } # provided by ebuild
  23. anyhow = "1.0"
  24. serde = "1"
  25. serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] } # provided by ebuild
  26. static_assertions = "1.1"
  27. tokio = { workspace = true, optional = true }
  28. [target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
  29. io_uring = { path = "../io_uring" } # provided by ebuild
  30. [target.'cfg(windows)'.dependencies]
  31. winapi = "0.3"
  32. win_util = { path = "../win_util" }
  33. smallvec = "1"
  34. [dependencies.futures]
  35. version = "0.3"
  36. default-features = false
  37. features = ["alloc"]
  38. [dev-dependencies]
  39. futures = { version = "0.3", features = ["executor"] }
  40. futures-executor = { version = "0.3", features = ["thread-pool"] }
  41. futures-util = "0.3"
  42. tempfile = "3"