anos/Cargo.toml

44 lines
1.1 KiB
TOML
Raw Permalink Normal View History

2021-12-01 03:24:55 +00:00
[package]
name = "anos"
version = "0.1.0"
2022-08-07 12:59:37 +00:00
authors = ["Sainnhe Park <i@sainnhe.dev>"]
2021-12-01 03:24:55 +00:00
edition = "2021"
2021-12-09 11:51:38 +00:00
# 只能先把这部分注释掉,因为 cargo 还没有修复这个 bug
# https://github.com/rust-lang/cargo/issues/7359
# [profile.dev]
# panic = "abort" # 禁用 panic 时的栈展开
#
# [profile.release]
# panic = "abort" # 禁用 panic 时的栈展开
2021-12-01 08:47:28 +00:00
[dependencies]
2022-03-12 01:49:30 +00:00
bootloader = { version = "0.9.22", features = ["map_physical_memory"] }
2021-12-09 02:34:40 +00:00
volatile = "0.2.6"
spin = "0.5.2"
2022-01-09 08:55:04 +00:00
x86_64 = "0.14.7"
2021-12-09 11:51:38 +00:00
uart_16550 = "0.2.0"
2022-01-11 09:09:13 +00:00
pic8259 = "0.10.1"
pc-keyboard = "0.5.0"
2022-01-13 08:19:54 +00:00
linked_list_allocator = "0.9.0"
2021-12-09 02:34:40 +00:00
[dependencies.lazy_static]
version = "1.0"
features = ["spin_no_std"]
2021-12-09 11:51:38 +00:00
[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 # 设定 300 秒后超时
[[test]]
name = "should_panic"
harness = false # 禁用 test runner, 让 should_panic 作为一个常规的可执行文件存在
2022-01-10 09:45:04 +00:00
[[test]]
name = "stack_overflow"
harness = false