|
5 | 5 | //! # Cargo Features |
6 | 6 | //! |
7 | 7 | //! - `use-ramdisk`: Use [`driver_block::ramdisk::RamDisk`] as the block device. |
8 | | -//! This feature is enabled by default. |
| 8 | +//! This feature is **enabled** by default. |
9 | 9 | //! - `use-virtio-blk`: Use [`axdriver::VirtIoBlockDev`] as the block device. |
10 | | -//! This feature is disabled by default, but it will override `use-ramdisk` |
| 10 | +//! This feature is **disabled** by default, but it will override `use-ramdisk` |
11 | 11 | //! if both are enabled. |
12 | 12 | //! - `fatfs`: Use [FAT] as the main filesystem and mount it on `/`. This feature |
13 | | -//! is enabled by default. |
| 13 | +//! is **enabled** by default. |
14 | 14 | //! - `devfs`: Mount [`axfs_devfs::DeviceFileSystem`] on `/dev`. This feature is |
15 | | -//! enabled by default. |
| 15 | +//! **enabled** by default. |
16 | 16 | //! - `ramfs`: Mount [`axfs_ramfs::RamFileSystem`] on `/tmp`. This feature is |
17 | | -//! enabled by default. |
| 17 | +//! **enabled** by default. |
| 18 | +//! - `myfs`: Allow users to define their custom filesystems to override the |
| 19 | +//! default. In this case, [`MyFileSystemIf`] is required to be implemented |
| 20 | +//! to create and initialize other filesystems. This feature is **disabled** by |
| 21 | +//! by default, but it will override |
| 22 | +//! other filesystem selection features if both are enabled. |
18 | 23 | //! |
19 | 24 | //! [FAT]: https://en.wikipedia.org/wiki/File_Allocation_Table |
| 25 | +//! [`MyFileSystemIf`]: fops::MyFileSystemIf |
20 | 26 |
|
21 | 27 | #![cfg_attr(all(not(test), not(doc)), no_std)] |
| 28 | +#![feature(doc_auto_cfg)] |
22 | 29 |
|
23 | 30 | #[macro_use] |
24 | 31 | extern crate log; |
|
0 commit comments