Compare commits
1 Commits
bcc57ac804
...
9cbf95cbe8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9cbf95cbe8 |
12
CHANGELOG.md
12
CHANGELOG.md
@@ -6,10 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.2.0] - 2025-09-25
|
||||
## [0.1.3] - 2025-09-24
|
||||
|
||||
### Added
|
||||
- print as well
|
||||
- add publish
|
||||
- add features for nats and postgres
|
||||
- add postgres
|
||||
@@ -23,15 +22,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Configure Renovate (#4)
|
||||
Add renovate.json
|
||||
|
||||
## [0.1.3] - 2025-09-24
|
||||
|
||||
### Added
|
||||
- add features for nats and postgres
|
||||
- add postgres
|
||||
- extract backend
|
||||
- do publish
|
||||
- allow readme
|
||||
|
||||
## [0.1.2] - 2025-07-04
|
||||
|
||||
### Added
|
||||
|
||||
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -918,7 +918,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "noleader"
|
||||
version = "0.1.3"
|
||||
version = "0.1.2"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-nats",
|
||||
|
||||
@@ -3,7 +3,7 @@ members = ["crates/*"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
version = "0.2.0"
|
||||
version = "0.1.3"
|
||||
license = "MIT"
|
||||
|
||||
[workspace.dependencies]
|
||||
|
||||
@@ -133,8 +133,6 @@ impl Leader {
|
||||
F: Fn(CancellationToken) -> Fut,
|
||||
Fut: Future<Output = anyhow::Result<()>> + Send + 'static,
|
||||
{
|
||||
let cancellation_token = cancellation_token.child_token();
|
||||
|
||||
loop {
|
||||
if cancellation_token.is_cancelled() {
|
||||
return Ok(());
|
||||
@@ -172,7 +170,6 @@ impl Leader {
|
||||
}
|
||||
});
|
||||
|
||||
tracing::info!("starting leader actions");
|
||||
let res = f(child_token).await;
|
||||
|
||||
guard.abort();
|
||||
|
||||
@@ -5,8 +5,6 @@ base: "git@git.front.kjuulh.io:kjuulh/cuddle-rust-lib-plan.git"
|
||||
vars:
|
||||
service: "noleader"
|
||||
registry: kasperhermansen
|
||||
rust:
|
||||
publish: {}
|
||||
|
||||
please:
|
||||
project:
|
||||
|
||||
Reference in New Issue
Block a user