Cargo.toml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. async-trait = "0.1.89"
  35. futures = { version = "0.3.31", features = ["alloc", "async-await"], default-features = false }
  36. [target.'cfg(any(target_arch = "riscv64", target_arch = "loongarch64"))'.dependencies]
  37. virtio-drivers = { version = "0.11.0" }
  38. [target.'cfg(target_arch = "riscv64")'.dependencies]
  39. unwinding = { version = "0.2.8", default-features = false, features = [
  40. "unwinder",
  41. "fde-static",
  42. "personality",
  43. "panic",
  44. ] }
  45. [features]
  46. default = []
  47. trace_pci = []
  48. trace_syscall = []
  49. trace_scheduler = ["eonix_runtime/trace_scheduler"]
  50. log_trace = ["trace_pci", "trace_syscall", "trace_scheduler"]
  51. log_debug = []
  52. smp = []
  53. [profile.release]
  54. debug = true
  55. [profile.dev.package.eonix_preempt]
  56. opt-level = "s"
  57. [profile.dev.package.eonix_runtime]
  58. opt-level = "s"
  59. [profile.dev.package.eonix_sync]
  60. opt-level = "s"
  61. [profile.dev.package.intrusive_list]
  62. opt-level = "s"
  63. [profile.dev.package.eonix_hal]
  64. opt-level = "s"
  65. [profile.dev.package."*"]
  66. opt-level = "s"
  67. [profile.dev.build-override]
  68. opt-level = 0
  69. codegen-units = 256
  70. debug = false
  71. [profile.release.build-override]
  72. opt-level = 0
  73. codegen-units = 256
  74. debug = false