levi-core 0.1.3

Entities, status resolution, and ranking for levi, the git-aware issue tracker
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use myko::prelude::*;

/// Advisory claim. id = task_id, so a SET overwrites any prior claim and
/// "newest wins" falls out of LWW replay order. Ignored after ttl expires.
#[myko_item]
pub struct Claim {
    pub project_id: String,
    pub task_id: String,
    pub dev: String,
    pub machine: String,
    pub worktree: String,
    /// RFC3339
    pub created: String,
    pub ttl_secs: u64,
}