File tree 3 files changed +4
-0
lines changed
tss-esapi/tests/integration_tests
3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,14 @@ use tss_esapi::{
34
34
} ;
35
35
36
36
mod marshall;
37
+ #[ cfg( feature = "serde" ) ]
37
38
mod serde;
38
39
mod tpm2b_types_equality_checks;
39
40
mod tpma_types_equality_checks;
40
41
mod tpml_types_equality_checks;
41
42
mod tpms_types_equality_checks;
42
43
mod tpmt_types_equality_checks;
44
+ #[ cfg( feature = "serde" ) ]
43
45
pub use self :: serde:: * ;
44
46
pub use marshall:: * ;
45
47
pub use tpm2b_types_equality_checks:: * ;
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ fn marshall_unmarshall() {
12
12
}
13
13
14
14
#[ test]
15
+ #[ cfg( feature = "serde" ) ]
15
16
fn serialise_deserialise ( ) {
16
17
crate :: common:: check_serialise_deserialise ( & Private :: default ( ) ) ;
17
18
let private = Private :: try_from ( [ 0xff ; 100 ] . to_vec ( ) ) . unwrap ( ) ;
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ fn marshall_unmarshall() {
15
15
}
16
16
17
17
#[ test]
18
+ #[ cfg( feature = "serde" ) ]
18
19
fn serialise_deserialise ( ) {
19
20
crate :: common:: publics ( )
20
21
. iter ( )
You can’t perform that action at this time.
0 commit comments