feat: add 4 new crates (queue, tracing, http, cli) + enhancements to existing crates

New crates:
- mytheclipse-queue: unified job queue with WorkerPool, retry/backoff, DLQ
  Backends: in-memory (default), Redis, NATS, PostgreSQL
- mytheclipse-tracing: tracing subscriber layers with env filter + OTLP/Jaeger export
- mytheclipse-http: HTTP client/server with timeout + tracing, axum server
- mytheclipse-cli: CLI framework with clap derive, built-in subcommands

Enhancements to existing crates:
- mytheclipse-core: SemaphorePool, LeaderElection, HealthRegistry/HealthCheck
- mytheclipse-cache: AutoRefreshCache (bg refresh on miss), CacheMetrics
- mytheclipse-config: ConfigSchema for JSON Schema generation
- mytheclipse-storage: MultipartUploadDriver trait
- mytheclipse-crypto: PASETO v4.local token support

All features compile with --all-features; tests + clippy pass clean.
This commit is contained in:
asepharyana
2026-08-29 16:05:02 +07:00
parent 2596b357ec
commit 8106f8943e
53 changed files with 3588 additions and 44 deletions
+26
View File
@@ -0,0 +1,26 @@
[package]
name = "mytheclipse-cli"
version = "0.2.0"
edition = "2021"
rust-version = "1.75"
license = "MIT OR Apache-2.0"
repository = "https://github.com/asepharyana/mytheclipse"
homepage = "https://github.com/asepharyana/mytheclipse"
documentation = "https://docs.rs/mytheclipse-cli"
authors = ["asepharyana <superaseph@gmail.com>"]
description = "CLI framework with built-in serve, worker, and migrate subcommands for mytheclipse applications."
readme = "README.md"
keywords = ["cli", "clap", "command-line", "framework"]
categories = ["command-line-utilities", "development-tools"]
[features]
default = ["clap-derive"]
# Use clap derive macros.
clap-derive = ["dep:clap"]
[dependencies]
tracing = "0.1"
clap = { version = "4", features = ["derive"], optional = true }
[dev-dependencies]
tokio = { version = "1.53", features = ["full"] }