Cargo.toml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. [package]
  2. name = "eonix_kernel"
  3. version = "0.1.0"
  4. edition = "2021"
  5. [lib]
  6. crate-type = ["bin"]
  7. [dependencies]
  8. atomic_unique_refcell = { path = "./crates/atomic_unique_refcell", features = [
  9. "no_std",
  10. ] }
  11. buddy_allocator = { path = "./crates/buddy_allocator" }
  12. eonix_hal = { path = "./crates/eonix_hal" }
  13. eonix_macros = { path = "./macros" }
  14. eonix_mm = { path = "./crates/eonix_mm" }
  15. eonix_percpu = { path = "./crates/eonix_percpu" }
  16. eonix_preempt = { path = "./crates/eonix_preempt" }
  17. eonix_runtime = { path = "./crates/eonix_runtime" }
  18. eonix_sync = { path = "./crates/eonix_sync" }
  19. eonix_log = { path = "./crates/eonix_log" }
  20. intrusive_list = { path = "./crates/intrusive_list" }
  21. pointers = { path = "./crates/pointers" }
  22. posix_types = { path = "./crates/posix_types" }
  23. slab_allocator = { path = "./crates/slab_allocator" }
  24. bitflags = "2.6.0"
  25. intrusive-collections = { version = "0.9.8", git = "https://github.com/greatbridf/intrusive-rs" }
  26. itertools = { version = "0.13.0", default-features = false }
  27. acpi = "5.2.0"
  28. align_ext = "0.1.0"
  29. xmas-elf = "0.10.0"
  30. another_ext4 = { git = "https://github.com/SMS-Derfflinger/another_ext4", branch = "main" }
  31. stalloc = { version = "0.6.1", default-features = false, features = [
  32. "allocator-api",
  33. ] }
  34. [target.'cfg(any(target_arch = "riscv64", target_arch = "loongarch64"))'.dependencies]
  35. virtio-drivers = { version = "0.11.0" }
  36. [target.'cfg(target_arch = "riscv64")'.dependencies]
  37. unwinding = { version = "0.2.8", default-features = false, features = [
  38. "unwinder",
  39. "fde-static",
  40. "personality",
  41. "panic",
  42. ] }
  43. [features]
  44. default = []
  45. trace_pci = []
  46. trace_syscall = []
  47. trace_scheduler = ["eonix_runtime/trace_scheduler"]
  48. log_trace = ["trace_pci", "trace_syscall", "trace_scheduler"]
  49. log_debug = []
  50. smp = []
  51. [profile.release]
  52. debug = true
  53. [profile.dev.package.eonix_preempt]
  54. opt-level = "s"
  55. [profile.dev.package.eonix_runtime]
  56. opt-level = "s"
  57. [profile.dev.package.eonix_sync]
  58. opt-level = "s"
  59. [profile.dev.package.intrusive_list]
  60. opt-level = "s"
  61. [profile.dev.package.eonix_hal]
  62. opt-level = "s"
  63. [profile.dev.package."*"]
  64. opt-level = "s"
  65. [profile.dev.build-override]
  66. opt-level = 0
  67. codegen-units = 256
  68. debug = false
  69. [profile.release.build-override]
  70. opt-level = 0
  71. codegen-units = 256
  72. debug = false