General & Crypto
This commit is contained in:
parent
0bbcab5727
commit
02f94993c7
27 changed files with 1881 additions and 47 deletions
|
|
@ -4,7 +4,7 @@ use std::io::{Cursor, Read};
|
|||
|
||||
use crate::data_value::DataValue;
|
||||
use crate::rand_u32;
|
||||
use type_map::{CommTypeId, DataTypeId};
|
||||
use mtp_type_map::{CommTypeId, DataTypeId};
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub struct CommunicationValue {
|
||||
|
|
@ -201,7 +201,7 @@ impl CommunicationValue {
|
|||
mod tests {
|
||||
use super::*;
|
||||
use crate::data_value::DataValue;
|
||||
use type_map::{CommTypeId, DataTypeId};
|
||||
use mtp_type_map::{CommTypeId, DataTypeId};
|
||||
|
||||
fn roundtrip(cv: CommunicationValue) -> CommunicationValue {
|
||||
let bytes = cv.to_bytes();
|
||||
|
|
|
|||
Loading…
Reference in a new issue