1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-util-raw-route-auth/src/lib.rs
Items
const ASSERTION_HEADER const SIGNATURE_HEADER const ASSERTION_SCHEMA const ENV_RAW_ROUTE_AUTH const MAX_CLOCK_SKEW_MS const MAX_PEER_ID_BYTES const MAX_NETWORK_ID_BYTES const MAX_ROUTE_BYTES const MAX_ASSERTION_HEADER_BYTES struct CallerAssertionV1 enum VerifiedCaller impl VerifiedCaller struct RawAuthError impl RawAuthError impl Display for RawAuthError impl Error for RawAuthError struct CallerCredentials static NONCE_SEQUENCE static NONCE_EPOCH_NANOS static NONCES
Functions
By call-graph weight (PageRank; 1.0 is the average function). 21 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| public_gateway_bind_requested_from_envsrc/lib.rs:174 | fn | 24 | 5 | 2 | 2 | 2.8 | |
| authenticate_raw_callersrc/lib.rs:223 | fn | 33 | 5 | 25 | 5 | 2.5 | |
| signed_caller_headerssrc/lib.rs:391 | fn | 34 | 4 | 19 | 5 | 2.3 | |
| RawAuthError::newsrc/lib.rs:137 | method | 3 | 1 | 5 | 0 | 2.1 | |
| auth_gate_modesrc/lib.rs:159 | fn | 10 | 1 | 3 | 3 | 1.9 | |
| headersrc/lib.rs:446 | fn | 8 | 1 | 3 | 0 | 1.8 | |
| raw_route_auth_requiredsrc/lib.rs:204 | fn | 8 | 7 | 4 | 2 | 1.3 | |
| canonical_assertion_bytessrc/lib.rs:440 | fn | 3 | 1 | 3 | 0 | 1.2 | |
| local_peer_seedsrc/lib.rs:427 | fn | 10 | 1 | 3 | 0 | 1.1 | |
| claim_noncesrc/lib.rs:483 | fn | 12 | 2 | 2 | 0 | 1 | |
| verified_caller_from_assertionsrc/lib.rs:257 | fn | 38 | 4 | 1 | 9 | 0.9 | |
| declared_peer_idsrc/lib.rs:457 | fn | 3 | 1 | 1 | 1 | 0.9 | |
| fresh_noncesrc/lib.rs:468 | fn | 6 | 1 | 1 | 1 | 0.9 | |
| VerifiedCaller::is_verifiedsrc/lib.rs:114 | method | 3 | 1 | 5 | 0 | 0.8 | |
| VerifiedCaller::receipt_labelsrc/lib.rs:120 | method | 7 | 3 | 4 | 0 | 0.8 | |
| is_canonical_sha256src/lib.rs:461 | fn | 3 | 2 | 1 | 0 | 0.6 | |
| decode_assertionsrc/lib.rs:296 | fn | 7 | 1 | 1 | 1 | 0.6 | |
| verify_assertion_shapesrc/lib.rs:306 | fn | 51 | 14 | 1 | 4 | 0.6 | |
| trusted_peer_public_keysrc/lib.rs:362 | fn | 13 | 1 | 1 | 1 | 0.6 | |
| VerifiedCaller::peer_idsrc/lib.rs:107 | method | 6 | 2 | 0 | 0 | 0.5 | |
| RawAuthError::fmtsrc/lib.rs:143 | trait impl | 3 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.