File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
tss-esapi/tests/integration_tests Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,14 @@ use tss_esapi::{
3434} ;
3535
3636mod marshall;
37+ #[ cfg( feature = "serde" ) ]
3738mod serde;
3839mod tpm2b_types_equality_checks;
3940mod tpma_types_equality_checks;
4041mod tpml_types_equality_checks;
4142mod tpms_types_equality_checks;
4243mod tpmt_types_equality_checks;
44+ #[ cfg( feature = "serde" ) ]
4345pub use self :: serde:: * ;
4446pub use marshall:: * ;
4547pub use tpm2b_types_equality_checks:: * ;
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ fn marshall_unmarshall() {
1212}
1313
1414#[ test]
15+ #[ cfg( feature = "serde" ) ]
1516fn serialise_deserialise ( ) {
1617 crate :: common:: check_serialise_deserialise ( & Private :: default ( ) ) ;
1718 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() {
1515}
1616
1717#[ test]
18+ #[ cfg( feature = "serde" ) ]
1819fn serialise_deserialise ( ) {
1920 crate :: common:: publics ( )
2021 . iter ( )
You can’t perform that action at this time.
0 commit comments