[package] name = "cache_utils" version = "0.1.0" authors = ["guillaume didier "] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] polling_serial = { path = "../polling_serial", optional = true } vga_buffer = { path = "../vga_buffer", optional = true } cpuid = { path = "../cpuid" } x86_64 = "0.9.2" static_assertions = "1.1.0" itertools = { version = "0.9.0", default-features = false } nix = { version = "0.17.0", optional = true } libc = { version = "0.2.69", optional = true } [features] std = ["nix", "itertools/use_std", "libc"] no_std = ["polling_serial", "vga_buffer"] default = ["std"] [[bin]] name = "cache_utils" required-features = ["std"]