forked from rcore-os/zCore
48 lines
1.6 KiB
TOML
48 lines
1.6 KiB
TOML
[package]
|
|
name = "linux-object"
|
|
version = "0.1.0"
|
|
authors = ["Runji Wang <wangrunji0408@163.com>"]
|
|
edition = "2018"
|
|
description = "Linux kernel objects"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
async-trait = "0.1"
|
|
log = "0.4"
|
|
spin = "0.9"
|
|
xmas-elf = "0.7"
|
|
bitflags = "1.3"
|
|
hashbrown = "0.9"
|
|
numeric-enum-macro = "0.2"
|
|
zircon-object = { path = "../zircon-object", features = ["elf"] }
|
|
kernel-hal = { path = "../kernel-hal", default-features = false }
|
|
downcast-rs = { version = "1.2", default-features = false }
|
|
lazy_static = { version = "1.4", features = ["spin_no_std"] }
|
|
rcore-fs = { git = "https://github.com/rcore-os/rcore-fs", rev = "1a3246b" }
|
|
rcore-fs-sfs = { git = "https://github.com/rcore-os/rcore-fs", rev = "1a3246b" }
|
|
rcore-fs-ramfs = { git = "https://github.com/rcore-os/rcore-fs", rev = "1a3246b" }
|
|
rcore-fs-mountfs = { git = "https://github.com/rcore-os/rcore-fs", rev = "1a3246b" }
|
|
rcore-fs-devfs = { git = "https://github.com/rcore-os/rcore-fs", rev = "1a3246b" }
|
|
cfg-if = "1.0"
|
|
smoltcp = { git = "https://gitee.com/gcyyfun/smoltcp", rev = "043eb60", default-features = false, features = [
|
|
"alloc",
|
|
"log",
|
|
"async",
|
|
"medium-ethernet",
|
|
"proto-ipv4",
|
|
"proto-igmp",
|
|
"socket-icmp",
|
|
"socket-udp",
|
|
"socket-tcp",
|
|
"socket-raw",
|
|
] }
|
|
zcore-drivers = { path = "../drivers", features = ["virtio"] }
|
|
lock = { git = "https://github.com/DeathWish5/kernel-sync" }
|
|
|
|
# LibOS mode
|
|
[target.'cfg(not(target_os = "none"))'.dependencies]
|
|
|
|
# Bare-metal mode
|
|
[target.'cfg(target_os = "none")'.dependencies]
|