rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-network-model/src/peer_service.rs
Items
const PEER_SERVICE_OFFER_SCHEMA_V1 const PEER_SERVICE_OFFER_PROFILE_FIELD const PEER_SERVICE_OFFERS_PROFILE_FIELD const NETWORK_FIXTURE_ECHO_SERVICE_V1 const MAX_PEER_SERVICE_METHODS const MAX_PEER_SERVICE_ACTIVE_SESSIONS const MAX_PEER_SERVICE_SESSION_PLAINTEXT_BYTES const MAX_PEER_SERVICE_MESSAGES_PER_DIRECTION const MAX_PEER_SERVICE_SESSION_DURATION_MS const SIGNING_DOMAIN_V1 struct PeerServiceCapabilitiesV1 struct PeerServiceCapacityV1 struct PeerServiceOfferPayloadV1 impl PeerServiceOfferPayloadV1 struct PeerServiceOfferV1 impl CanonicalBytes for PeerServiceOfferPayloadV1 enum VerifyPeerServiceOfferError impl Display for VerifyPeerServiceOfferError impl Error for VerifyPeerServiceOfferError
Functions
By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| offer_id_for_payloadsrc/peer_service.rs:113 | fn | 3 | 1 | 4 | 2 | 2.1 | |
| PeerServiceOfferPayloadV1::newsrc/peer_service.rs:65 | method | 30 | 1 | 3 | 0 | 1.6 | |
| canonical_preimagesrc/peer_service.rs:104 | fn | 8 | 1 | 1 | 0 | 1.4 | |
| sign_peer_service_offersrc/peer_service.rs:127 | fn | 8 | 1 | 7 | 2 | 1.3 | |
| verify_peer_service_offersrc/peer_service.rs:219 | fn | 55 | 12 | 6 | 5 | 1.1 | |
| canonical_bytes_for_signingsrc/peer_service.rs:117 | fn | 3 | 1 | 1 | 1 | 0.9 | |
| payloadsrc/peer_service.rs:280 | fn | 25 | 1 | 4 | 1 | 0.8 | |
| verifysrc/peer_service.rs:306 | fn | 12 | 1 | 4 | 3 | 0.8 | |
| require_nonemptysrc/peer_service.rs:181 | fn | 3 | 2 | 1 | 0 | 0.7 | |
| verify_capabilitiessrc/peer_service.rs:185 | fn | 17 | 9 | 1 | 0 | 0.7 | |
| verify_capacitysrc/peer_service.rs:203 | fn | 14 | 9 | 1 | 0 | 0.7 | |
| PeerServiceOfferPayloadV1::canonical_bytes_for_signingsrc/peer_service.rs:122 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| VerifyPeerServiceOfferError::fmtsrc/peer_service.rs:154 | trait impl | 23 | 13 | 0 | 0 | 0.5 | |
| signed_offer_roundtrips_and_verifiessrc/peer_service.rs:320 | fn | 7 | 1 | 0 | 5 | 0.5 | |
| mutation_and_scope_mismatch_fail_closedsrc/peer_service.rs:329 | fn | 20 | 1 | 0 | 6 | 0.5 | |
| expired_offer_and_binding_mismatch_fail_closedsrc/peer_service.rs:351 | fn | 17 | 1 | 0 | 6 | 0.5 | |
| duplicate_methods_and_unbounded_capacity_are_rejected_even_when_signedsrc/peer_service.rs:370 | fn | 16 | 1 | 0 | 4 | 0.5 |
Source not readable from this process.