summaryrefslogtreecommitdiff
path: root/vendor/prost/src/lib.rs
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-15 16:37:08 -0600
committermo khan <mo@mokhan.ca>2025-07-17 16:30:22 -0600
commit45df4d0d9b577fecee798d672695fe24ff57fb1b (patch)
tree1b99bf645035b58e0d6db08c7a83521f41f7a75b /vendor/prost/src/lib.rs
parentf94f79608393d4ab127db63cc41668445ef6b243 (diff)
feat: migrate from Cedar to SpiceDB authorization system
This is a major architectural change that replaces the Cedar policy-based authorization system with SpiceDB's relation-based authorization. Key changes: - Migrate from Rust to Go implementation - Replace Cedar policies with SpiceDB schema and relationships - Switch from envoy `ext_authz` with Cedar to SpiceDB permission checks - Update build system and dependencies for Go ecosystem - Maintain Envoy integration for external authorization This change enables more flexible permission modeling through SpiceDB's Google Zanzibar inspired relation-based system, supporting complex hierarchical permissions that were difficult to express in Cedar. Breaking change: Existing Cedar policies and Rust-based configuration will no longer work and need to be migrated to SpiceDB schema.
Diffstat (limited to 'vendor/prost/src/lib.rs')
-rw-r--r--vendor/prost/src/lib.rs42
1 files changed, 0 insertions, 42 deletions
diff --git a/vendor/prost/src/lib.rs b/vendor/prost/src/lib.rs
deleted file mode 100644
index 8f9df5bb..00000000
--- a/vendor/prost/src/lib.rs
+++ /dev/null
@@ -1,42 +0,0 @@
-#![doc(html_root_url = "https://docs.rs/prost/0.13.5")]
-#![cfg_attr(not(feature = "std"), no_std)]
-#![doc = include_str!("../README.md")]
-
-// Re-export the alloc crate for use within derived code.
-#[doc(hidden)]
-pub extern crate alloc;
-
-// Re-export the bytes crate for use within derived code.
-pub use bytes;
-
-mod error;
-mod message;
-mod name;
-mod types;
-
-#[doc(hidden)]
-pub mod encoding;
-
-pub use crate::encoding::length_delimiter::{
- decode_length_delimiter, encode_length_delimiter, length_delimiter_len,
-};
-pub use crate::error::{DecodeError, EncodeError, UnknownEnumValue};
-pub use crate::message::Message;
-pub use crate::name::Name;
-
-// See `encoding::DecodeContext` for more info.
-// 100 is the default recursion limit in the C++ implementation.
-#[cfg(not(feature = "no-recursion-limit"))]
-const RECURSION_LIMIT: u32 = 100;
-
-// Re-export #[derive(Message, Enumeration, Oneof)].
-// Based on serde's equivalent re-export [1], but enabled by default.
-//
-// [1]: https://github.com/serde-rs/serde/blob/v1.0.89/serde/src/lib.rs#L245-L256
-#[cfg(feature = "derive")]
-#[allow(unused_imports)]
-#[macro_use]
-extern crate prost_derive;
-#[cfg(feature = "derive")]
-#[doc(hidden)]
-pub use prost_derive::*;