mirror of
https://github.com/cccb/servicepoint.git
synced 2025-01-18 18:10:14 +01:00
fixup! hide packets to reduce api surface for new users
This commit is contained in:
parent
46cb48c126
commit
21cc7e3f12
|
@ -492,9 +492,12 @@ impl Command {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::{
|
||||
bitvec::prelude::BitVec, command::TryFromPacketError,
|
||||
command_code::CommandCode, origin::Pixels, Brightness, Command,
|
||||
CompressionCode, Header, Origin, Packet, PixelGrid, PrimitiveGrid,
|
||||
bitvec::prelude::BitVec,
|
||||
command::TryFromPacketError,
|
||||
command_code::CommandCode,
|
||||
origin::Pixels,
|
||||
packet::{Header, Packet},
|
||||
Brightness, Command, CompressionCode, Origin, PixelGrid, PrimitiveGrid,
|
||||
};
|
||||
|
||||
fn round_trip(original: Command) {
|
||||
|
|
|
@ -316,7 +316,7 @@ impl Packet {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::{Header, Packet};
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn round_trip() {
|
||||
|
|
Loading…
Reference in a new issue