Cargo.toml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. [package]
  2. name = "eonix_kernel"
  3. version = "0.1.0"
  4. edition = "2021"
  5. [lib]
  6. crate-type = ["bin"]
  7. [dependencies]
  8. arch = { path = "./arch" }
  9. atomic_unique_refcell = { path = "./crates/atomic_unique_refcell", features = [
  10. "no_std",
  11. ] }
  12. buddy_allocator = { path = "./crates/buddy_allocator" }
  13. eonix_hal = { path = "./crates/eonix_hal" }
  14. eonix_macros = { path = "./macros" }
  15. eonix_mm = { path = "./crates/eonix_mm" }
  16. eonix_percpu = { path = "./crates/eonix_percpu" }
  17. eonix_preempt = { path = "./crates/eonix_preempt" }
  18. eonix_runtime = { path = "./crates/eonix_runtime" }
  19. eonix_sync = { path = "./crates/eonix_sync" }
  20. eonix_log = { path = "./crates/eonix_log" }
  21. intrusive_list = { path = "./crates/intrusive_list" }
  22. pointers = { path = "./crates/pointers" }
  23. posix_types = { path = "./crates/posix_types" }
  24. slab_allocator = { path = "./crates/slab_allocator" }
  25. bitflags = "2.6.0"
  26. intrusive-collections = "0.9.7"
  27. itertools = { version = "0.13.0", default-features = false }
  28. acpi = "5.2.0"
  29. align_ext = "0.1.0"
  30. xmas-elf = "0.10.0"
  31. [target.'cfg(target_arch = "riscv64")'.dependencies]
  32. virtio-drivers = { version = "0.11.0" }
  33. [features]
  34. default = []
  35. trace_syscall = []
  36. trace_scheduler = []
  37. log_trace = ["trace_syscall", "trace_scheduler"]
  38. log_debug = []
  39. smp = []
  40. [profile.dev]
  41. panic = "abort"
  42. [profile.dev.package.arch]
  43. opt-level = 0
  44. [profile.dev.package.eonix_preempt]
  45. opt-level = 2
  46. [profile.dev.package.eonix_runtime]
  47. opt-level = 0
  48. [profile.dev.package.eonix_sync]
  49. opt-level = 2
  50. [profile.dev.package.intrusive_list]
  51. opt-level = 2
  52. [profile.dev.package.eonix_hal]
  53. opt-level = 0
  54. [profile.dev.package."*"]
  55. opt-level = "s"
  56. [profile.dev.build-override]
  57. opt-level = 0
  58. codegen-units = 256
  59. debug = false
  60. [profile.release.build-override]
  61. opt-level = 0
  62. codegen-units = 256
  63. debug = false