-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
51 lines (45 loc) · 1.66 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "axnet"
version = "0.1.0"
edition = "2021"
authors = ["Yuekai Jia <[email protected]>", "ChengXiang Qi <[email protected]>"]
description = "ArceOS network module"
license = "GPL-3.0-or-later OR Apache-2.0"
homepage = "https://github.com/rcore-os/arceos"
repository = "https://github.com/rcore-os/arceos/tree/main/modules/axnet"
documentation = "https://rcore-os.github.io/arceos/axnet/index.html"
keywords = ["Starry"]
[features]
monolithic = ["dep:axprocess"]
smoltcp = []
# 启用ip协议与否
ip = []
default = ["smoltcp"]
[dependencies]
log = "0.4"
cfg-if = "1.0"
spin = "0.9"
driver_net = { git = "https://github.com/Starry-OS/driver_net.git" }
lazy_init = { git = "https://github.com/Starry-OS/lazy_init.git" }
axerrno = { git = "https://github.com/Starry-OS/axerrno.git" }
axhal = { git = "https://github.com/Starry-OS/axhal.git" }
axsync = { git = "https://github.com/Starry-OS/axsync.git" }
axtask = { git = "https://github.com/Starry-OS/axtask.git" }
axdriver = { git = "https://github.com/Starry-OS/axdriver.git", features = ["net"] }
axio = { git = "https://github.com/Starry-OS/axio.git" }
axprocess = { git = "https://github.com/Starry-OS/axprocess.git", optional = true }
[dependencies.smoltcp]
git = "https://github.com/rcore-os/smoltcp.git"
rev = "8bf9a9a"
default-features = false
features = [
"alloc", "log", # no std
"medium-ethernet",
"medium-ip",
"proto-ipv4",
"proto-ipv6",
"socket-raw", "socket-icmp", "socket-udp", "socket-tcp", "socket-dns", "proto-igmp",
# "fragmentation-buffer-size-65536", "proto-ipv4-fragmentation",
# "reassembly-buffer-size-65536", "reassembly-buffer-count-32",
# "assembler-max-segment-count-32",
]