Skip to content

Commit

Permalink
Export NIO/NIOHTTP1 symbols so users don't need to also import NIO
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Feb 3, 2021
1 parent 4231c30 commit e307f66
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 19 additions & 0 deletions Sources/SotoSignerV4/exports.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//===----------------------------------------------------------------------===//
//
// This source file is part of the Soto for AWS open source project
//
// Copyright (c) 2017-2020 the Soto project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of Soto project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//

@_exported import struct NIO.ByteBuffer
@_exported import struct NIO.ByteBufferAllocator
@_exported import struct NIO.TimeAmount

@_exported import NIOHTTP1
2 changes: 0 additions & 2 deletions Sources/SotoSignerV4/signer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ import struct Foundation.Locale
import struct Foundation.TimeZone
import struct Foundation.URL
import struct Foundation.URLComponents
import NIO
import NIOHTTP1
import SotoCrypto

/// Amazon Web Services V4 Signer
Expand Down

0 comments on commit e307f66

Please sign in to comment.