2
0

Cargo.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [package]
  2. name = "drstd"
  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. [workspace]
  7. members = [ "dlibc" ]
  8. [build-dependencies]
  9. cbindgen = "0.24.3"
  10. cc = "1.0.25"
  11. [dependencies]
  12. cbitset = "0.1.0"
  13. lazy_static = { version = "1.4.0", default-features = false, features = ["spin_no_std"] }
  14. memoffset = "0.5.1"
  15. rand = { version = "0.5.5", default-features = false }
  16. memchr = { version = "2.2.0", default-features = false }
  17. plain = "0.2"
  18. unicode-width = "0.1"
  19. hashbrown = { version = "0.14", default-features = false }
  20. cfg-if = { version = "1.0" }
  21. dlibc = { path = "./dlibc" }
  22. [dependencies.goblin]
  23. version = "0.0.21"
  24. default-features = false
  25. features = ["elf32", "elf64", "endian_fd"]
  26. #[target.'cfg(target_os = "linux")'.dependencies]
  27. #sc = "0.2.3"
  28. [target.'cfg(target_os = "dragonos")'.dependencies]
  29. # Development
  30. dragonos-dsc = { git = "https://git.mirrors.dragonos.org/DragonOS-Community/dragonos-dsc.git", rev = "aa61cb0109" }
  31. [features]
  32. default = []
  33. trace = []
  34. [profile.dev]
  35. panic = "abort"
  36. [profile.release]
  37. panic = "abort"