Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ members = [
"crates/tw-adopt",
"crates/tw-scan",
"crates/tw-guard",
"crates/tw-breaker",
"crates/tw-dialect",
"crates/tw-engine",
"crates/tw-observe",
Expand Down Expand Up @@ -56,6 +57,7 @@ tw-pricing = { path = "crates/tw-pricing" }
tw-adopt = { path = "crates/tw-adopt" }
tw-scan = { path = "crates/tw-scan" }
tw-guard = { path = "crates/tw-guard" }
tw-breaker = { path = "crates/tw-breaker" }
tw-dialect = { path = "crates/tw-dialect" }

# ── 版本与企业版 workspace 对齐,便于反向依赖时不打架 ────
Expand Down
14 changes: 14 additions & 0 deletions crates/tw-breaker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "tw-breaker"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
description = "The circuit-breaker state machine both gateways run: pure data and pure transitions, stored wherever the caller keeps it"

[dependencies]
serde = { workspace = true }

[dev-dependencies]
serde_json = { workspace = true }
Loading
Loading