Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-k-cameron committed Apr 27, 2023
1 parent 61275ae commit 53037a2
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions rust-runtime/aws-smithy-types/src/blob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@
* SPDX-License-Identifier: Apache-2.0
*/

#[cfg(all(
aws_sdk_unstable,
any(feature = "serde-deserialize", feature = "serde-serialize")
))]
use crate::base64;
#[cfg(all(aws_sdk_unstable, feature = "serde-serialize"))]
use serde::Serialize;
#[cfg(all(aws_sdk_unstable, feature = "serde-deserialize"))]
use serde::{de::Visitor, Deserialize};

#[cfg(aws_sdk_unstable)]
use impl_serde::*;
#[cfg(aws_sdk_unstable)]
mod impl_serde {
#[cfg(feature = "serde-deserialize")]
pub use serde::{de::Visitor, Deserialize};
#[cfg(feature = "serde-serialize")]
pub use serde::Serialize;
#[cfg(any(feature = "serde-deserialize", feature = "serde-serialize"))]
pub use crate::base64;
}


/// Binary Blob Type
///
Expand Down

0 comments on commit 53037a2

Please sign in to comment.