Cargo.toml 719 B

123456789101112131415161718192021222324252627282930
  1. [package]
  2. name = "riscv"
  3. version = "0.1.0"
  4. authors = ["Runji Wang <[email protected]>"]
  5. edition = "2018"
  6. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  7. [features]
  8. tcp = ["smoltcp"]
  9. default = ["tcp"]
  10. [dependencies]
  11. log = "0.4"
  12. riscv = "0.10"
  13. opensbi-rt = { git = "https://github.com/rcore-os/opensbi-rt.git", rev = "abdfeb72" }
  14. fdt = "0.1.4"
  15. virtio-drivers = { path = "../.." }
  16. lazy_static = { version = "1.4", features = ["spin_no_std"] }
  17. [dependencies.smoltcp]
  18. version = "0.9.1"
  19. optional = true
  20. default-features = false
  21. features = [
  22. "alloc", "log", # no std
  23. "medium-ethernet",
  24. "proto-ipv4",
  25. "socket-raw", "socket-icmp", "socket-udp", "socket-tcp",
  26. ]