[package]
name = "jinux"
version = "0.2.0"
edition = "2021"

[[bin]]
name = "jinux"
path = "kernel/main.rs"

[dependencies]
jinux-frame = { path = "framework/jinux-frame" }
jinux-std = { path = "services/libs/jinux-std" }
component = { path = "services/libs/comp-sys/component" }

[dev-dependencies]
x86_64 = "0.14.2"
jinux-time = { path = "services/comps/time" }
jinux-framebuffer = { path = "services/comps/framebuffer" }

[workspace]

members = [
    "runner",
    "framework/jinux-frame",
    "framework/jinux-frame/src/arch/x86/boot/linux_boot/setup",
    "framework/libs/align_ext",
    "services/comps/virtio",
    "services/comps/input",
    "services/comps/block",
    "services/comps/network",
    "services/comps/framebuffer",
    "services/comps/time",
    "services/libs/jinux-std",
    "services/libs/jinux-rights-proc",
    "services/libs/typeflags",
    "services/libs/typeflags-util",
    "services/libs/jinux-util",
    "services/libs/cpio-decoder",
    "services/libs/int-to-c-enum",
]

exclude = ["services/libs/comp-sys/controlled", "services/libs/comp-sys/cargo-component"]

[features]
intel_tdx = ["jinux-frame/intel_tdx", "jinux-std/intel_tdx"]
