Skip to content

Commit

Permalink
Fix dependencies and deploy targets
Browse files Browse the repository at this point in the history
  • Loading branch information
yvbeek committed Mar 31, 2024
1 parent ad5fe29 commit a7d8654
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/robbiehanson/CocoaAsyncSocket.git", from: "7.6.5"),
.package(url: "https://github.com/Building42/HTTPParserC.git", from: "2.9.4")
.package(url: "https://github.com/Building42/HTTPParserC.git", from: "9.2.0")
],
targets: [
.target(
Expand Down
2 changes: 1 addition & 1 deletion Sources/Protocols/HTTP/Models/HTTPParser+Raw.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extension HTTPRawParser {

/// Completes the initialization steps of the parser.
static func prepare(parser: UnsafeMutablePointer<HTTPRawParser>, settings: UnsafeMutablePointer<HTTPRawParserSettings>) {
llhttp_init(parser, HTTP_BOTH, settings)
llhttp_init(parser, LLHTTP_BOTH, settings)
}

/// Parses the incoming data and returns an optional error.
Expand Down
8 changes: 4 additions & 4 deletions Telegraph.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ Pod::Spec.new do |s|
s.source_files = 'Sources/**/*.swift'
s.swift_version = '5.0'

s.ios.deployment_target = '9.0'
s.tvos.deployment_target = '9.0'
s.osx.deployment_target = '10.10'
s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'
s.macos.deployment_target = '10.13'

s.dependency 'CocoaAsyncSocket', '~> 7.6'
s.dependency 'HTTPParserC', '~> 2.9'
s.dependency 'HTTPParserC', '~> 9.2'
end

0 comments on commit a7d8654

Please sign in to comment.