diff --git a/screeps-async-macros/CHANGELOG.md b/screeps-async-macros/CHANGELOG.md new file mode 100644 index 0000000..17b3372 --- /dev/null +++ b/screeps-async-macros/CHANGELOG.md @@ -0,0 +1,14 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.1.0](https://github.com/rustyscreeps/screeps-async/releases/tag/screeps-async-macros-v0.1.0) - 2024-03-03 + +Initial Release! + +### Added +- Add #[main] macro to automatically call ScreepsRuntime.run() diff --git a/screeps-async/CHANGELOG.md b/screeps-async/CHANGELOG.md new file mode 100644 index 0000000..cfd8cc6 --- /dev/null +++ b/screeps-async/CHANGELOG.md @@ -0,0 +1,17 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.1.0](https://github.com/rustyscreeps/screeps-async/releases/tag/screeps-async-v0.1.0) - 2024-03-03 + +Initial Release! + +### Added +- *(spawn)* `spawn` function to run async tasks in the background +- *(block_on)* Add `block_on` function to allow blocking on a future +- *(yield_now)* Add `yield_now` helper to yield execution back to scheduler without delaying to the next tick +- *(each_tick)* Add `each_tick!` macro to run resolve a set of dependencies an async block each tick diff --git a/screeps-async/Cargo.toml b/screeps-async/Cargo.toml index 8d51a24..11bcedd 100644 --- a/screeps-async/Cargo.toml +++ b/screeps-async/Cargo.toml @@ -16,4 +16,4 @@ flume = { version = "0.11", default-features = false } screeps-game-api = "0.20.1" [dev-dependencies] -rstest = "0.18.2" \ No newline at end of file +rstest = "0.18.2"