Skip to content

Commit

Permalink
fixed: doc generating bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
yayanyang committed Mar 5, 2024
1 parent b70ecf4 commit 8bbe316
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,10 @@ This project adheres to [Semantic Versioning](https://semver.org).
Note: In this file, do not use the hard wrap in the middle of a sentence for compatibility with GitHub comment style markdown rendering.
-->

## [0.1.5] - 2024-03-05

- fixed: error in generating crate [`rasi-default`](/crates/default/) document

## [0.1.4] - 2024-03-05

- Add official specification test suite.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -5,7 +5,7 @@ resolver = "2"
[workspace.package]
edition = "2021"
repository = "https://github.com/HalaOS/RASI.git"
version = "0.1.4"
version = "0.1.5"

[workspace.dependencies]
log = { version = "^0.4" }
Expand Down
18 changes: 16 additions & 2 deletions crates/default/Cargo.toml
Expand Up @@ -15,10 +15,24 @@ num_cpus = { workspace = true }
boxcar = { workspace = true }
dashmap = { workspace = true }
thiserror = { workspace = true }
futures = { workspace = true, features = ["std", "executor", "thread-pool"] }
futures = { workspace = true, optional = true }

rasi-syscall = { workspace = true, features = ["net", "time"] }
rasi-syscall = { workspace = true, optional = true }

[dev-dependencies]
futures-test = { workspace = true }
rasi-spec = { workspace = true }


[features]

default = ["std", "fs", "net", "time", "executor"]

fs = ["rasi-syscall/fs"]
net = ["rasi-syscall/net"]
time = ["rasi-syscall/time"]
executor = ["rasi-syscall/executor", "futures/executor", "futures/thread-pool"]

alloc = ["futures/alloc", "futures/executor"]

std = ["futures/std", "futures/executor"]
13 changes: 12 additions & 1 deletion crates/default/src/lib.rs
@@ -1,8 +1,19 @@
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(feature = "executor")]
#[cfg_attr(docsrs, doc(cfg(feature = "executor")))]
pub mod executor;
#[cfg(feature = "fs")]
#[cfg_attr(docsrs, doc(cfg(feature = "fs")))]
pub mod fs;
#[cfg(feature = "net")]
#[cfg_attr(docsrs, doc(cfg(feature = "net")))]
pub mod net;
#[cfg(feature = "time")]
#[cfg_attr(docsrs, doc(cfg(feature = "time")))]
pub mod time;

pub mod reactor;
pub mod timer;

mod token;
pub use token::*;
File renamed without changes.

0 comments on commit 8bbe316

Please sign in to comment.