Skip to content

Commit c771c26

Browse files
committed
daku crate v0.3.0
1 parent aac6b00 commit c771c26

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,35 @@ All notable changes to `daku` will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://github.com/AldaronLau/semver).
66

7+
## [0.3.0] - 2022-10-25
8+
### Added
9+
- `api::log::init()`
10+
- `api::prompt::read_line()`
11+
- `cmd::defer()`
12+
- `cmd::execute()`
13+
- `cmd::flush()`
14+
- `cmd::queue()`
15+
- `cmd::until()`
16+
- `run::sleep()`
17+
- `run::wake()`
18+
- `sys` module
19+
20+
### Changed
21+
- Rename `block_on()` to `run::block_on()`
22+
- APIs are now found under 4 modules:
23+
- `api` - safe API abstractions
24+
- `cmd` - command queue
25+
- `run` - asynchronous abstractions
26+
- `sys` - raw (unsafe) Daku FFI bindings
27+
28+
### Removed
29+
- `cpu_info` (for now)
30+
- `log::info!()` - use `log` crate instead
31+
- `log::warn!()` - use `log` crate instead
32+
- `log::error!()` - use `log` crate instead
33+
- `log::debug!()` - use `log` crate instead
34+
- `log::Target` - use `log` crate instead
35+
736
## [0.2.0] - 2022-04-03
837
### Added
938
- `block_on()`

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "daku"
13-
version = "0.2.0"
13+
version = "0.3.0"
1414
license = "Apache-2.0 OR MIT OR BSL-1.0"
1515
description = "Interface to the Daku API"
1616
repository = "https://github.com/ardaku/daku"

src/portal.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(unused)] // For when no portals are enabled via feature flags
2+
13
use alloc::vec::Vec;
24

35
use crate::sys::{self, Command, Connect, Portal};

0 commit comments

Comments
 (0)