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
crates/cre8-app-device/src/command.rs
Items
struct DeviceCommand impl DeviceCommand impl CanonicalBytes for DeviceCommand struct SignedCommand impl SignedCommand
Functions
By call-graph weight (PageRank; 1.0 is the average function). 16 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| DeviceCommand::newsrc/command.rs:42 | method | 16 | 1 | 2 | 0 | 2.2 | |
| commandsrc/command.rs:128 | fn | 3 | 1 | 6 | 1 | 1.8 | |
| sign_command_with_seedsrc/command.rs:109 | fn | 6 | 1 | 6 | 3 | 1.6 | |
| default_controller_seedsrc/command.rs:119 | fn | 3 | 1 | 2 | 0 | 1.1 | |
| canonical_linesrc/command.rs:70 | fn | 7 | 1 | 2 | 1 | 0.9 | |
| DeviceCommand::digestsrc/command.rs:60 | method | 3 | 1 | 0 | 2 | 0.5 | |
| DeviceCommand::canonical_bytes_for_signingsrc/command.rs:79 | trait impl | 3 | 1 | 0 | 2 | 0.5 | |
| SignedCommand::verifysrc/command.rs:99 | method | 3 | 1 | 0 | 1 | 0.5 | |
| SignedCommand::digestsrc/command.rs:103 | method | 3 | 1 | 0 | 0 | 0.5 | |
| sign_then_verify_round_tripssrc/command.rs:133 | fn | 6 | 1 | 0 | 3 | 0.5 | |
| tampering_with_params_breaks_verificationsrc/command.rs:141 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| tampering_with_any_bound_field_breaks_verificationsrc/command.rs:149 | fn | 13 | 2 | 0 | 2 | 0.5 | |
| a_different_controller_key_does_not_verifysrc/command.rs:164 | fn | 5 | 1 | 0 | 3 | 0.5 | |
| signed_command_survives_json_round_tripsrc/command.rs:171 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| digest_binds_params_and_is_stablesrc/command.rs:180 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| controller_seed_is_per_device_stablesrc/command.rs:190 | fn | 4 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.