File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/rustlang
rust-runtime/aws-smithy-types/src Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ package software.amazon.smithy.rust.codegen.core.rustlang
8
8
import org.intellij.lang.annotations.Language
9
9
import org.jsoup.Jsoup
10
10
import org.jsoup.nodes.Element
11
- import software.amazon.smithy.rust.codegen.core.smithy.generators.RenderSerdeAttribute
12
11
import software.amazon.smithy.codegen.core.CodegenException
13
12
import software.amazon.smithy.codegen.core.Symbol
14
13
import software.amazon.smithy.codegen.core.SymbolDependencyContainer
@@ -27,6 +26,7 @@ import software.amazon.smithy.model.traits.DocumentationTrait
27
26
import software.amazon.smithy.rust.codegen.core.rustlang.Attribute.Companion.deprecated
28
27
import software.amazon.smithy.rust.codegen.core.smithy.ModuleDocProvider
29
28
import software.amazon.smithy.rust.codegen.core.smithy.RuntimeType
29
+ import software.amazon.smithy.rust.codegen.core.smithy.generators.RenderSerdeAttribute
30
30
import software.amazon.smithy.rust.codegen.core.smithy.isOptional
31
31
import software.amazon.smithy.rust.codegen.core.smithy.protocols.serialize.ValueExpression
32
32
import software.amazon.smithy.rust.codegen.core.smithy.rustType
Original file line number Diff line number Diff line change 3
3
* SPDX-License-Identifier: Apache-2.0
4
4
*/
5
5
6
+ #[ cfg( all(
7
+ aws_sdk_unstable,
8
+ any( feature = "serde-deserialize" , feature = "serde-serialize" )
9
+ ) ) ]
10
+ use crate :: base64;
6
11
#[ cfg( all( aws_sdk_unstable, feature = "serde-serialize" ) ) ]
7
12
use serde:: Serialize ;
8
13
#[ cfg( all( aws_sdk_unstable, feature = "serde-deserialize" ) ) ]
9
14
use serde:: { de:: Visitor , Deserialize } ;
10
- #[ cfg( all( aws_sdk_unstable, any( feature = "serde-deserialize" , feature = "serde-serialize" ) ) ) ]
11
- use crate :: base64;
12
15
/// Binary Blob Type
13
16
///
14
17
/// Blobs represent protocol-agnostic binary content.
You can’t perform that action at this time.
0 commit comments