diff --git a/Sources/Hummingbird/Codable/JSON/JSONCoding.swift b/Sources/Hummingbird/Codable/JSON/JSONCoding.swift index f8e35c18f..4608062d8 100644 --- a/Sources/Hummingbird/Codable/JSON/JSONCoding.swift +++ b/Sources/Hummingbird/Codable/JSON/JSONCoding.swift @@ -13,8 +13,8 @@ //===----------------------------------------------------------------------===// import struct Foundation.Date -@_exported import class Foundation.JSONDecoder -@_exported import class Foundation.JSONEncoder +import class Foundation.JSONDecoder +import class Foundation.JSONEncoder import NIOFoundationCompat extension JSONEncoder: ResponseEncoder { diff --git a/Sources/Hummingbird/Server/RequestContext.swift b/Sources/Hummingbird/Server/RequestContext.swift index 1d77fc236..74571d929 100644 --- a/Sources/Hummingbird/Server/RequestContext.swift +++ b/Sources/Hummingbird/Server/RequestContext.swift @@ -13,6 +13,7 @@ //===----------------------------------------------------------------------===// import Atomics +import Foundation import Logging import NIOConcurrencyHelpers import NIOCore