-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
66 lines (62 loc) · 2.83 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "axfs"
version = "0.1.0"
edition = "2021"
authors = ["Yuekai Jia <[email protected]>"]
description = "ArceOS filesystem 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/axfs"
documentation = "https://rcore-os.github.io/arceos/axfs/index.html"
keywords = ["Starry"]
[features]
devfs = ["dep:axfs_devfs"]
ramfs = ["dep:axfs_ramfs"]
procfs = ["dep:axfs_ramfs"]
sysfs = ["dep:axfs_ramfs", "dep:axconfig"]
myfs = ["dep:crate_interface"]
use-ramdisk = []
monolithic = []
fatfs = ["dep:fatfs"]
# Use lwext4fs as the default filesystem
lwext4_rust = ["dep:lwext4_rust", "devfs", "ramfs", "procfs", "sysfs"]
# Use ext4rs as the default filesystem
ext4_rs = ["dep:ext4_rs", "devfs", "ramfs", "procfs", "sysfs"]
# Use another_ext4 as the default filesystem
another_ext4 = ["dep:another_ext4", "devfs", "ramfs", "procfs", "sysfs"]
default = ["devfs", "ramfs", "fatfs", "procfs", "sysfs"]
[dependencies]
log = "0.4"
cfg-if = "1.0"
lazy_init = { git = "https://github.com/Starry-OS/lazy_init.git" }
capability = { git = "https://github.com/Starry-OS/capability.git" }
driver_block = { git = "https://github.com/Starry-OS/driver_block.git" }
axio = { git = "https://github.com/Starry-OS/axio.git", features = ["alloc"] }
axerrno = { git = "https://github.com/Starry-OS/axerrno.git" }
axconfig = { git = "https://github.com/Starry-OS/axconfig.git", optional = true }
axfs_vfs = { git = "https://github.com/Starry-OS/axfs_vfs.git" }
axfs_devfs = { git = "https://github.com/Starry-OS/axfs_devfs.git", optional = true }
axfs_ramfs = { git = "https://github.com/Starry-OS/axfs_ramfs.git", optional = true }
ext4_rs = { git = "https://github.com/yuoo655/ext4_rs.git", rev= "6bcc7f5", optional = true }
lwext4_rust = { git = "https://github.com/elliott10/lwext4_rust.git", optional = true }
another_ext4 = { git = "https://github.com/Josen-B/another_ext4.git", branch = "main", features = ["block_cache"], optional = true }
axdriver = { git = "https://github.com/Starry-OS/axdriver.git", features = ["block"] }
axsync = { git = "https://github.com/Starry-OS/axsync.git" }
crate_interface = { git = "https://github.com/Starry-OS/crate_interface.git", optional = true }
bitflags = "2.6"
[dependencies.fatfs]
git = "https://github.com/rafalh/rust-fatfs"
rev = "85f06e0"
optional = true
default-features = false
features = [ # no std
"alloc",
"lfn",
"log_level_trace",
"unicode",
]
[dev-dependencies]
axdriver = { git = "https://github.com/Starry-OS/axdriver.git", features = ["block", "ramdisk"] }
driver_block = { git = "https://github.com/Starry-OS/driver_block.git", features = ["ramdisk"] }
axsync = { git = "https://github.com/Starry-OS/axsync.git", features = ["multitask"] }
axtask = { git = "https://github.com/Starry-OS/axtask.git", features = ["test"] }