1 viewer
rust 1,849,384 · typescript 232,426 · javascript 131,078 · python 19,227 · 6,366 files · digest 815dcbacab85 · built in 1.4 s · crystals off
cre8-wire crates cargo crate
CRE8 Wire v0 envelope, shard, and frame primitives.
0workspace deps
4direct dependents
219transitive dependents
0calls out
66calls in
184call-graph weight
0.0%exact crystals
Neighbourhood
Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.
Files
lowhigh
File call graph
Resolved calls between this crate's files, callers left of callees.
Heaviest functions
By call-graph weight (PageRank; 1.0 is the average function). 156 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| read_varintsrc/varint.rs:11 | fn | 19 | 4 | 4 | 0 | 13.4 | |
| read_single_varintsrc/varint.rs:37 | fn | 8 | 2 | 12 | 1 | 9.5 | |
| sha256_bytessrc/lib.rs:21 | fn | 4 | 1 | 13 | 0 | 8.9 | |
| push_varintsrc/varint.rs:3 | fn | 7 | 2 | 6 | 0 | 8.4 | |
| push_fieldsrc/varint.rs:56 | fn | 5 | 1 | 23 | 1 | 6.3 | |
| utf8_stringsrc/varint.rs:86 | fn | 3 | 1 | 12 | 0 | 5.9 | |
| sha256_hexsrc/lib.rs:26 | fn | 3 | 1 | 8 | 2 | 5.2 | |
| next_fieldsrc/varint.rs:67 | fn | 18 | 3 | 10 | 1 | 4.9 | |
| read_single_u32src/varint.rs:51 | fn | 4 | 1 | 7 | 1 | 3.7 | |
| CodecPlan::identitysrc/codec.rs:13 | method | 3 | 1 | 9 | 0 | 3.7 | |
| StreamFrame::with_audio_layoutsrc/frame.rs:88 | method | 5 | 1 | 19 | 0 | 3 | |
| bytes_to_hex_lowersrc/lib.rs:30 | fn | 9 | 2 | 2 | 0 | 2.8 | |
| StreamFrame::newsrc/frame.rs:62 | method | 4 | 1 | 17 | 1 | 2.7 | |
| StreamFrame::is_codecsrc/frame.rs:94 | method | 3 | 1 | 4 | 0 | 2.5 | |
| StreamFrame::with_video_geometrysrc/frame.rs:82 | method | 5 | 1 | 12 | 0 | 2.4 | |
| push_varint_fieldsrc/varint.rs:62 | fn | 4 | 1 | 9 | 2 | 2.3 | |
| varint_bytessrc/varint.rs:31 | fn | 5 | 1 | 5 | 1 | 2.2 | |
| ByteSink::pushBytessrc/browser/wire.ts:57 | method | 4 | 1 | 2 | 0 | 2.1 | |
| StreamFrame::decodesrc/frame.rs:129 | method | 9 | 2 | 7 | 2 | 1.8 | |
| CodecPlan::decodesrc/codec.rs:41 | method | 9 | 2 | 5 | 3 | 1.8 | |
| ShardRef::decodesrc/shard.rs:32 | method | 8 | 2 | 4 | 2 | 1.8 | |
| stream_frame_identity_appliersrc/frame.rs:160 | fn | 9 | 5 | 1 | 4 | 1.7 | |
| StreamFrame::with_sequencesrc/frame.rs:67 | method | 4 | 1 | 7 | 0 | 1.5 | |
| WireEnvelope::newsrc/envelope.rs:92 | method | 20 | 1 | 6 | 2 | 1.5 | |
| ByteSink::pushFieldsrc/browser/wire.ts:74 | method | 5 | 1 | 3 | 2 | 1.5 | |
| apply_stream_frame_identity_fieldsrc/frame.rs:152 | fn | 7 | 1 | 3 | 1 | 1.4 | |
| read_single_u16src/varint.rs:46 | fn | 4 | 1 | 2 | 1 | 1.4 | |
| StreamLane::try_fromsrc/frame.rs:23 | trait impl | 6 | 1 | 2 | 0 | 1.3 | |
| apply_stream_frame_fieldsrc/frame.rs:140 | fn | 9 | 3 | 1 | 2 | 1.2 | |
| WireEnvelope::decodesrc/envelope.rs:184 | method | 19 | 5 | 5 | 4 | 1.2 | |
| apply_shard_ref_fieldsrc/shard.rs:42 | fn | 6 | 2 | 1 | 0 | 1.2 | |
| EnvelopeFieldDecoder::from_wire_tagsrc/envelope.rs:241 | method | 3 | 1 | 1 | 0 | 1.1 | |
| ByteSink::pushVarintsrc/browser/wire.ts:62 | method | 11 | 2 | 1 | 1 | 1.1 | |
| EnvelopeKind::try_fromsrc/envelope.rs:26 | trait impl | 10 | 6 | 2 | 0 | 1.1 | |
| ProofRef::decodesrc/schema.rs:57 | method | 13 | 5 | 2 | 2 | 1.1 | |
| EnvelopeHeader::newsrc/envelope.rs:46 | method | 3 | 1 | 2 | 0 | 1.1 | |
| EnvelopeHeader::decodesrc/envelope.rs:57 | method | 12 | 4 | 2 | 2 | 1.1 | |
| stream_frame_payload_appliersrc/frame.rs:190 | fn | 13 | 9 | 1 | 8 | 1 | |
| encode_stream_frame_batchsrc/frame.rs:252 | fn | 7 | 2 | 9 | 1 | 1 | |
| ShardManifestDecode::defaultsrc/shard.rs:120 | trait impl | 9 | 1 | 3 | 1 | 1 |
Outside the workspace
serde sha2 thiserror