2021-11-16 00:09:27 -06:00
|
|
|
[package]
|
2021-12-24 03:30:27 -06:00
|
|
|
edition = "2021"
|
2021-11-16 00:09:27 -06:00
|
|
|
name = "ableos"
|
|
|
|
version = "0.1.0"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
panic = "abort"
|
|
|
|
|
|
|
|
[package.metadata.bootimage]
|
2022-01-02 04:04:36 -06:00
|
|
|
run-args = [
|
2022-01-22 00:01:16 -06:00
|
|
|
"-cpu",
|
|
|
|
"kvm64-v1",
|
2022-01-02 04:04:36 -06:00
|
|
|
"-serial",
|
|
|
|
"stdio",
|
|
|
|
"-smp",
|
|
|
|
"cores=2",
|
2022-01-18 06:15:51 -06:00
|
|
|
|
2022-01-26 19:43:03 -06:00
|
|
|
|
|
|
|
# An example gpu used with ableOS
|
|
|
|
"-device",
|
|
|
|
"virtio-gpu",
|
|
|
|
|
|
|
|
# An example disk used with ableOS
|
2022-01-02 04:04:36 -06:00
|
|
|
"-device",
|
|
|
|
"virtio-blk-pci,drive=drive0,id=virtblk0,num-queues=4",
|
2022-01-26 19:43:03 -06:00
|
|
|
# A simple example of a boot image
|
2022-01-02 04:04:36 -06:00
|
|
|
"-drive",
|
|
|
|
"file=disk.qcow2,if=none,id=drive0",
|
|
|
|
]
|
2021-11-16 00:09:27 -06:00
|
|
|
test-args = [
|
2021-12-24 03:30:27 -06:00
|
|
|
"-device",
|
|
|
|
"isa-debug-exit,iobase=0xf4,iosize=0x04",
|
|
|
|
"-serial",
|
|
|
|
"stdio",
|
2021-11-16 00:09:27 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[dependencies]
|
2021-11-23 05:53:06 -06:00
|
|
|
linked_list_allocator = "0.9.0"
|
2021-11-27 09:19:08 -06:00
|
|
|
lliw = "0.2.0"
|
2022-01-18 06:15:51 -06:00
|
|
|
# qoi_rs = "*"
|
2021-12-24 03:30:27 -06:00
|
|
|
spin = "0.5.2"
|
2022-01-07 10:31:47 -06:00
|
|
|
vga = "*"
|
2022-01-16 19:42:11 -06:00
|
|
|
log= "*"
|
2022-01-18 06:15:51 -06:00
|
|
|
pretty-hex = "0.2.1"
|
2022-01-18 08:30:09 -06:00
|
|
|
unicode-width = "0.1.7"
|
2022-01-22 00:01:16 -06:00
|
|
|
picorand = "*"
|
2022-01-26 19:43:03 -06:00
|
|
|
# watson = "0.4"
|
2022-01-18 06:15:51 -06:00
|
|
|
|
2022-01-22 00:01:16 -06:00
|
|
|
[dependencies.serde]
|
|
|
|
version = "*"
|
|
|
|
default-features = false
|
|
|
|
features = ["derive", "alloc"]
|
2022-01-18 06:15:51 -06:00
|
|
|
|
2022-01-22 00:01:16 -06:00
|
|
|
[dependencies.serde_json]
|
|
|
|
version = "*"
|
|
|
|
default-features = false
|
|
|
|
features = ["alloc"]
|
|
|
|
|
2022-01-26 19:43:03 -06:00
|
|
|
[dependencies.hashbrown]
|
|
|
|
version = "*"
|
|
|
|
default-features = false
|
|
|
|
features = ["inline-more"]
|
|
|
|
|
2022-01-22 00:01:16 -06:00
|
|
|
[dependencies.rkyv]
|
|
|
|
version = "0.7.29"
|
|
|
|
default-features = false
|
|
|
|
features = ["size_64", "alloc"]
|
2022-01-16 19:42:11 -06:00
|
|
|
|
2022-01-22 00:01:16 -06:00
|
|
|
[dependencies.smoltcp]
|
|
|
|
version = "0.8.0"
|
|
|
|
default-features = false
|
|
|
|
features = ["log", "proto-ipv4"]
|
|
|
|
|
|
|
|
[dependencies.y-compositor-protocol]
|
|
|
|
git = "https://git.ablecorp.us:443/able/y-compositor-protocol.git"
|
|
|
|
|
|
|
|
[dependencies.shadeable]
|
|
|
|
path = "../shadeable"
|
2021-11-16 00:09:27 -06:00
|
|
|
|
2022-01-26 19:43:03 -06:00
|
|
|
[dependencies.facepalm]
|
|
|
|
path = "../facepalm"
|
|
|
|
|
2022-01-16 09:23:19 -06:00
|
|
|
[dependencies.ab_glyph]
|
2022-01-25 19:40:37 -06:00
|
|
|
version = "*"
|
2022-01-16 09:23:19 -06:00
|
|
|
default-features = false
|
|
|
|
features = ["libm"]
|
|
|
|
|
2021-11-28 14:50:14 -06:00
|
|
|
[dependencies.wasmi]
|
|
|
|
default-features = false
|
|
|
|
features = ["core"]
|
2021-12-24 03:30:27 -06:00
|
|
|
version = "*"
|
2021-11-28 14:50:14 -06:00
|
|
|
|
2021-11-16 00:09:27 -06:00
|
|
|
[dependencies.lazy_static]
|
|
|
|
features = ["spin_no_std"]
|
|
|
|
version = "1.0"
|
|
|
|
|
2021-12-24 03:30:27 -06:00
|
|
|
[dependencies.externc-libm]
|
2022-01-05 07:10:52 -06:00
|
|
|
git = "ssh://root@git.ablecorp.us:20/able/externc-libm.git"
|
2021-11-16 00:09:27 -06:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
2021-12-24 03:30:27 -06:00
|
|
|
bootloader = { version = "0.9.8", features = ["map_physical_memory"] }
|
2021-11-16 00:09:27 -06:00
|
|
|
cpuio = { git = "https://github.com/anyusernameworks/cpuio.git" }
|
|
|
|
pic8259 = "0.10.1"
|
2021-12-24 03:30:27 -06:00
|
|
|
uart_16550 = "0.2.0"
|
|
|
|
volatile = "0.2.6"
|
|
|
|
x86_64 = "*"
|