# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "mango-hal" version = "0.2.1" build = false exclude = ["data"] autobins = false autoexamples = false autotests = false autobenches = false description = "Hardware Abstraction Layer for the mango operationg system." readme = "README.MD" keywords = [ "runtime", "kernel", "hal", ] categories = ["os"] license = "MIT" repository = "https://gitlab.com/cyloncore/mango" [package.metadata.bootimage] test-args = [ "-device", "isa-debug-exit,iobase=0xf4,iosize=0x04", "-serial", "stdio", "-display", "none", ] test-success-exit-code = 33 test-timeout = 300 [lib] name = "mango_hal" path = "src/lib.rs" [dependencies.bootloader] version = "0.9" features = ["map_physical_memory"] optional = true [dependencies.conquer-once] version = "0.4.0" default-features = false [dependencies.crossbeam-queue] version = "0.3.11" features = ["alloc"] default-features = false [dependencies.futures-util] version = "0.3.30" features = ["alloc"] default-features = false [dependencies.lazy_static] version = "1.0" features = ["spin_no_std"] [dependencies.linked_list_allocator] version = "0.10.5" [dependencies.mango-core] version = "0.2.1" [dependencies.mango-test] version = "0.2.1" optional = true [dependencies.pic8259] version = "0.11.0" optional = true [dependencies.spin] version = "0.9.8" [dependencies.tock-registers] version = "0.8.x" features = ["register_types"] optional = true default-features = false [dependencies.uart_16550] version = "0.3.1" [dependencies.volatile] version = "0.3.0" [dependencies.x86_64] version = "0.15.1" optional = true [features] default = [] qemu = ["mango-core/qemu"] rpi3 = ["tock-registers"] rpi4 = ["tock-registers"] test_build = ["mango-test"] x86_64 = [ "dep:x86_64", "dep:pic8259", "dep:bootloader", ] [target.'cfg(target_arch = "aarch64")'.dependencies.aarch64-cpu] version = "9.x.x" [target.'cfg(target_arch = "aarch64")'.dependencies.mango_aarch64] version = "0.2.1"