Compare commits
3 Commits
1ce63ff7bf
...
cd23d83a22
Author | SHA1 | Date | |
---|---|---|---|
|
cd23d83a22 | ||
56cc671593 | |||
0fd19c771f |
23
CHANGELOG.md
Normal file
23
CHANGELOG.md
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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.2.0] - 2024-08-07
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- with ctrl-c signal
|
||||||
|
|
||||||
|
## [0.1.0] - 2024-08-07
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- workspace package
|
||||||
|
- workspace true
|
||||||
|
- add cancellation
|
||||||
|
- add basic
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- tests
|
@ -3,7 +3,7 @@ members = ["crates/*"]
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
mad = { path = "crates/mad" }
|
mad = { path = "crates/mad" }
|
||||||
|
@ -134,6 +134,10 @@ impl Mad {
|
|||||||
}
|
}
|
||||||
res = comp.run(job_cancellation) => {
|
res = comp.run(job_cancellation) => {
|
||||||
error_tx.send(res).await
|
error_tx.send(res).await
|
||||||
|
|
||||||
|
}
|
||||||
|
_ = tokio::signal::ctrl_c() => {
|
||||||
|
error_tx.send(Ok(())).await
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user