merge: add local ticket backend

This commit is contained in:
Keisuke Hirata 2026-06-05 13:44:25 +09:00
commit 1041cdb961
No known key found for this signature in database
5 changed files with 1754 additions and 1 deletions

10
Cargo.lock generated
View File

@ -3617,6 +3617,16 @@ dependencies = [
"cfg-if",
]
[[package]]
name = "ticket"
version = "0.1.0"
dependencies = [
"chrono",
"fs4",
"tempfile",
"thiserror 2.0.18",
]
[[package]]
name = "time"
version = "0.3.47"

View File

@ -19,6 +19,7 @@ members = [
"crates/tools",
"crates/tui",
"crates/memory",
"crates/ticket",
"crates/workflow",
]
@ -34,6 +35,7 @@ llm-worker-macros = { path = "crates/llm-worker-macros", version = "0.2" }
manifest = { path = "crates/manifest" }
lint-common = { path = "crates/lint-common" }
memory = { path = "crates/memory" }
ticket = { path = "crates/ticket" }
pod = { path = "crates/pod" }
yoi = { path = "crates/yoi" }
pod-registry = { path = "crates/pod-registry" }

13
crates/ticket/Cargo.toml Normal file
View File

@ -0,0 +1,13 @@
[package]
name = "ticket"
version = "0.1.0"
edition.workspace = true
license.workspace = true
[dependencies]
chrono = { version = "0.4", default-features = false, features = ["clock"] }
fs4 = { workspace = true, features = ["sync"] }
thiserror.workspace = true
[dev-dependencies]
tempfile.workspace = true

1728
crates/ticket/src/lib.rs Normal file

File diff suppressed because it is too large Load Diff

View File

@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec {
filter = sourceFilter;
};
cargoHash = "sha256-iickLtGGmqc0raCZp7giowKajAMLn5+jwtQ9c5hZmhA=";
cargoHash = "sha256-zf8YS4d/ia/nGTH7MbkWO8ipqjc1ZNnUsnKlS5rH2pQ=";
depsExtraArgs = {
# Older fetchCargoVendor utilities used crates.io's API download endpoint,