Skip to content

Commit 7569223

Browse files
committed
policy: allow dynamically setting policy data
1 parent d393494 commit 7569223

File tree

5 files changed

+327
-5
lines changed

5 files changed

+327
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ syn2mas = { path = "./crates/syn2mas", version = "=0.14.1" }
6161
version = "0.14.1"
6262
features = ["axum", "axum-extra", "axum-json", "axum-query", "macros"]
6363

64+
# An `Arc` that can be atomically updated
65+
[workspace.dependencies.arc-swap]
66+
version = "1.7.1"
67+
6468
# GraphQL server
6569
[workspace.dependencies.async-graphql]
6670
version = "7.0.15"

crates/policy/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ workspace = true
1313

1414
[dependencies]
1515
anyhow.workspace = true
16+
arc-swap.workspace = true
1617
opa-wasm = "0.1.4"
1718
serde.workspace = true
1819
serde_json.workspace = true

0 commit comments

Comments
 (0)