Compare commits
No commits in common. "main" and "v0.1.0" have entirely different histories.
@ -6,13 +6,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.2.0] - 2024-08-02
|
||||
|
||||
### Added
|
||||
- use actual delimination
|
||||
- use source instead
|
||||
- add inner error
|
||||
|
||||
## [0.1.0] - 2024-08-02
|
||||
|
||||
### Added
|
||||
|
@ -3,7 +3,7 @@ members = ["crates/*"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
version = "0.2.0"
|
||||
version = "0.1.0"
|
||||
|
||||
[workspace.dependencies]
|
||||
drift = { path = "crates/drift" }
|
||||
|
@ -5,11 +5,8 @@ use std::future::Future;
|
||||
use tokio::time;
|
||||
use tokio_util::sync::CancellationToken;
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum DriftError {
|
||||
#[error("job failed with inner error: {0}")]
|
||||
JobError(#[source] anyhow::Error),
|
||||
}
|
||||
#[derive(Debug, Clone, thiserror::Error)]
|
||||
pub enum DriftError {}
|
||||
|
||||
pub fn schedule<F, Fut>(interval: Duration, func: F) -> CancellationToken
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user