From 805c09063c0d2b3630f095a381ede758f08fa92a Mon Sep 17 00:00:00 2001 From: Sean Klein Date: Fri, 31 May 2024 16:27:32 -0700 Subject: [PATCH] hakari, less pub interfaces --- Cargo.lock | 1 + nexus/auth/src/authz/context.rs | 2 +- workspace-hack/Cargo.toml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 8b9cbd7f04..e3c9eaa6d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5978,6 +5978,7 @@ dependencies = [ "trust-dns-proto", "unicode-bidi", "unicode-normalization", + "unicode-xid", "usdt 0.5.0", "usdt-impl 0.5.0", "uuid", diff --git a/nexus/auth/src/authz/context.rs b/nexus/auth/src/authz/context.rs index 76f0a1f1af..06d48b3f3d 100644 --- a/nexus/auth/src/authz/context.rs +++ b/nexus/auth/src/authz/context.rs @@ -78,7 +78,7 @@ impl Context { Context { authn, authz, datastore } } - pub fn datastore(&self) -> &Arc { + pub(crate) fn datastore(&self) -> &Arc { &self.datastore } diff --git a/workspace-hack/Cargo.toml b/workspace-hack/Cargo.toml index 3b5e1917d0..0376f1764a 100644 --- a/workspace-hack/Cargo.toml +++ b/workspace-hack/Cargo.toml @@ -220,6 +220,7 @@ tracing = { version = "0.1.40", features = ["log"] } trust-dns-proto = { version = "0.22.0" } unicode-bidi = { version = "0.3.15" } unicode-normalization = { version = "0.1.23" } +unicode-xid = { version = "0.2.4" } usdt = { version = "0.5.0" } usdt-impl = { version = "0.5.0", default-features = false, features = ["asm", "des"] } uuid = { version = "1.8.0", features = ["serde", "v4"] }