Cargo.toml 1.1 KB

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