Cargo.toml 836 B

123456789101112131415161718192021222324252627282930313233
  1. [package]
  2. name = "vmm_vhost"
  3. version = "0.1.0"
  4. keywords = ["vhost", "vhost-user", "virtio", "vdpa"]
  5. description = "a pure rust library for vdpa, vhost and vhost-user"
  6. authors = ["Liu Jiang <gerry@linux.alibaba.com>"]
  7. repository = "https://github.com/rust-vmm/vhost"
  8. documentation = "https://docs.rs/vhost"
  9. readme = "README.md"
  10. license = "Apache-2.0 or BSD-3-Clause"
  11. edition = "2021"
  12. [features]
  13. default = []
  14. [dependencies]
  15. anyhow = "1"
  16. base = { path = "../../base" }
  17. bitflags = "2.3"
  18. cfg-if = "1.0.0"
  19. enumn = "0.1.0"
  20. libc = ">=0.2.39"
  21. remain = "0.2"
  22. thiserror = { version = "1.0.20" }
  23. zerocopy = { version = "0.7", features = ["derive"] }
  24. [target.'cfg(windows)'.dependencies]
  25. serde = { version = "1", features = [ "derive" ] }
  26. serde_json = "1"
  27. tube_transporter = { path = "../../tube_transporter" }
  28. [dev-dependencies]
  29. tempfile = "3"