22// Licensed under the MIT license. 
33
44use  super :: value:: { AmqpList ,  AmqpOrderedMap ,  AmqpSymbol ,  AmqpTimestamp ,  AmqpValue } ; 
5- #[ cfg( all( feature = "fe2o3-amqp " ,  not( target_arch = "wasm32" ) ) ) ]  
5+ #[ cfg( all( feature = "fe2o3_amqp " ,  not( target_arch = "wasm32" ) ) ) ]  
66use  crate :: fe2o3:: error:: Fe2o3SerializationError ; 
77#[ cfg( feature = "cplusplus" ) ]  
88use  crate :: Deserializable ; 
99#[ cfg( feature = "cplusplus" ) ]  
1010use  azure_core:: error:: ErrorKind ; 
1111use  azure_core:: { Result ,  Uuid } ; 
1212
13- #[ cfg( all( feature = "fe2o3-amqp " ,  not( target_arch = "wasm32" ) ) ) ]  
13+ #[ cfg( all( feature = "fe2o3_amqp " ,  not( target_arch = "wasm32" ) ) ) ]  
1414type  DeliveryImplementation  = super :: fe2o3:: messaging:: messaging_types:: Fe2o3AmqpDelivery ; 
1515
16- #[ cfg( any( not( feature = "fe2o3-amqp " ) ,  target_arch = "wasm32" ) ) ]  
16+ #[ cfg( any( not( feature = "fe2o3_amqp " ) ,  target_arch = "wasm32" ) ) ]  
1717type  DeliveryImplementation  = super :: noop:: NoopAmqpDelivery ; 
1818
1919#[ derive( Debug ,  Clone ,  PartialEq ) ]  
@@ -1153,7 +1153,7 @@ impl AmqpMessage {
11531153
11541154    #[ allow( unused_variables) ]  
11551155    pub  fn  serialize ( message :  & AmqpMessage )  -> Result < Vec < u8 > >  { 
1156-         #[ cfg( all( feature = "fe2o3-amqp " ,  not( target_arch = "wasm32" ) ) ) ]  
1156+         #[ cfg( all( feature = "fe2o3_amqp " ,  not( target_arch = "wasm32" ) ) ) ]  
11571157        { 
11581158            let  amqp_message:  fe2o3_amqp_types:: messaging:: Message < 
11591159                fe2o3_amqp_types:: messaging:: Body < fe2o3_amqp_types:: primitives:: Value > , 
@@ -1164,7 +1164,7 @@ impl AmqpMessage {
11641164            . map_err ( |e| azure_core:: Error :: from ( Fe2o3SerializationError ( e) ) ) ?; 
11651165            Ok ( res) 
11661166        } 
1167-         #[ cfg( any( not( feature = "fe2o3-amqp " ) ,  target_arch = "wasm32" ) ) ]  
1167+         #[ cfg( any( not( feature = "fe2o3_amqp " ) ,  target_arch = "wasm32" ) ) ]  
11681168        { 
11691169            unimplemented ! ( ) ; 
11701170        } 
@@ -1215,7 +1215,7 @@ impl From<AmqpList> for AmqpMessage {
12151215#[ cfg( feature = "cplusplus" ) ]  
12161216impl  Deserializable < AmqpMessage >  for  AmqpMessage  { 
12171217    fn  decode ( data :  & [ u8 ] )  -> azure_core:: Result < AmqpMessage >  { 
1218-         #[ cfg( all( feature = "fe2o3-amqp " ,  not( target_arch = "wasm32" ) ) ) ]  
1218+         #[ cfg( all( feature = "fe2o3_amqp " ,  not( target_arch = "wasm32" ) ) ) ]  
12191219        { 
12201220            let  value = serde_amqp:: de:: from_slice :: < 
12211221                fe2o3_amqp_types:: messaging:: message:: __private:: Deserializable < 
@@ -1689,10 +1689,10 @@ mod tests {
16891689            let  message = AmqpMessage :: builder ( ) . build ( ) ; 
16901690            let  serialized = AmqpMessage :: serialize ( & message) . unwrap ( ) ; 
16911691            assert_eq ! ( serialized,  vec![ 0 ,  0x53 ,  0x77 ,  0x40 ] ) ; 
1692-             #[ cfg( all( feature = "fe2o3-amqp " ,  not( target_arch = "wasm32" ) ) ) ]  
1692+             #[ cfg( all( feature = "fe2o3_amqp " ,  not( target_arch = "wasm32" ) ) ) ]  
16931693            { 
16941694                // Verify that the serialization of an AmqpMessage with no body matches 
1695-                 // the fe2o3-amqp  serialization. 
1695+                 // the fe2o3_amqp  serialization. 
16961696                let  body_type:  fe2o3_amqp_types:: messaging:: Body < ( ) >  =
16971697                    fe2o3_amqp_types:: messaging:: Body :: Empty ; 
16981698                let  amqp_message = fe2o3_amqp_types:: messaging:: message:: Builder :: new ( ) 
@@ -1904,7 +1904,7 @@ mod tests {
19041904            ] 
19051905        ) ; 
19061906
1907-         #[ cfg( all( feature = "fe2o3-amqp " ,  not( target_arch = "wasm32" ) ) ) ]  
1907+         #[ cfg( all( feature = "fe2o3_amqp " ,  not( target_arch = "wasm32" ) ) ) ]  
19081908        { 
19091909            let  amqp_message = fe2o3_amqp_types:: messaging:: message:: Builder :: new ( ) 
19101910                . header ( 
0 commit comments