Skip to content
1 viewer

rust 1,847,280 · typescript 232,434 · javascript 131,101 · python 19,227 · 6,362 files · digest 755e2ee30522 · built in 2.3 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
102transitive 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.

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