Compare commits

1 Commits

Author SHA1 Message Date
cuddle-please
9cbf95cbe8 chore(release): 0.1.3
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-24 19:43:37 +00:00
5 changed files with 3 additions and 18 deletions

View File

@@ -6,10 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [0.2.0] - 2025-09-25 ## [0.1.3] - 2025-09-24
### Added ### Added
- print as well
- add publish - add publish
- add features for nats and postgres - add features for nats and postgres
- add postgres - add postgres
@@ -23,15 +22,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Configure Renovate (#4) - Configure Renovate (#4)
Add renovate.json 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 ## [0.1.2] - 2025-07-04
### Added ### Added

2
Cargo.lock generated
View File

@@ -918,7 +918,7 @@ dependencies = [
[[package]] [[package]]
name = "noleader" name = "noleader"
version = "0.1.3" version = "0.1.2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-nats", "async-nats",

View File

@@ -3,7 +3,7 @@ members = ["crates/*"]
resolver = "2" resolver = "2"
[workspace.package] [workspace.package]
version = "0.2.0" version = "0.1.3"
license = "MIT" license = "MIT"
[workspace.dependencies] [workspace.dependencies]

View File

@@ -133,8 +133,6 @@ impl Leader {
F: Fn(CancellationToken) -> Fut, F: Fn(CancellationToken) -> Fut,
Fut: Future<Output = anyhow::Result<()>> + Send + 'static, Fut: Future<Output = anyhow::Result<()>> + Send + 'static,
{ {
let cancellation_token = cancellation_token.child_token();
loop { loop {
if cancellation_token.is_cancelled() { if cancellation_token.is_cancelled() {
return Ok(()); return Ok(());
@@ -172,7 +170,6 @@ impl Leader {
} }
}); });
tracing::info!("starting leader actions");
let res = f(child_token).await; let res = f(child_token).await;
guard.abort(); guard.abort();

View File

@@ -5,8 +5,6 @@ base: "git@git.front.kjuulh.io:kjuulh/cuddle-rust-lib-plan.git"
vars: vars:
service: "noleader" service: "noleader"
registry: kasperhermansen registry: kasperhermansen
rust:
publish: {}
please: please:
project: project: