Skip to content
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

cre8-platform-serial crates cargo crate

Platform-safe serial port access.

crates/cre8-platform-serial · level 0 · 119 lines (102 code) · 1 files · 11 fns (6 tests) · cyclomatic Σ 11

0workspace deps
3direct dependents
106transitive dependents
0calls out
5calls in
6.7call-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.

normal dep · 5 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · manifest wiringplatform-serialL0 · 102 linescre8-platform-serialapp-deviceL9 · 14,646 linescre8-app-deviceplatformL5 · 84 linescre8-platformruntime-bootL30 · 1,463 linescre8-runtime-boot

Files

lowhigh

Heaviest functions

By call-graph weight (PageRank; 1.0 is the average function). 11 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
available_portssrc/lib.rs:11fn141201.2
open_portsrc/lib.rs:48fn151501.1
NativeSerialPort::write_allsrc/lib.rs:37trait impl31000.5
NativeSerialPort::flushsrc/lib.rs:40trait impl31000.5
NativeSerialPort::readsrc/lib.rs:43trait impl31000.5
MockSerialPort::write_allsrc/lib.rs:75trait impl41000.5
MockSerialPort::flushsrc/lib.rs:80trait impl41000.5
MockSerialPort::readsrc/lib.rs:85trait impl61000.5
default_build_reports_no_ports_and_rejects_opensrc/lib.rs:94fn51020.5
serial_port_info_preserves_fieldssrc/lib.rs:101fn51000.5
serial_port_facade_contract_is_object_safesrc/lib.rs:108fn111000.5

Outside the workspace

anyhow serde serialport