forked from Building42/HTTPParserC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HTTPParserC.podspec
31 lines (26 loc) · 1.2 KB
/
HTTPParserC.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Pod::Spec.new do |s|
s.name = 'HTTPParserC'
s.version = '9.2.0'
s.license = 'MIT'
s.summary = 'HTTP message parser written in C'
s.description = <<-DESC
HTTPParser is a HTTP message parser written in C, now based on llhttp. It parses both requests and responses.
The parser is designed to be used in performance HTTP applications.
It does not make any syscalls nor allocations, it does not buffer data, it can be interrupted at anytime.
Depending on your architecture, it only requires about 40 bytes of data per message stream
(in a web server that is per connection).
DESC
s.author = 'Building42'
s.homepage = 'https://github.com/Building42/HTTPParserC'
s.documentation_url = 'https://github.com/nodejs/llhttp'
s.source = { :git => "https://github.com/Building42/HTTPParserC.git", :tag => s.version }
s.source_files = 'Sources/*.{h,c}'
s.preserve_paths = 'Sources/*.{h,c}'
s.pod_target_xcconfig = { 'SWIFT_INCLUDE_PATHS' => '$(SRCROOT)/HTTPParserC/Sources/**' }
s.requires_arc = false
s.ios.deployment_target = '12.0'
s.macos.deployment_target = '10.13'
s.tvos.deployment_target = '12.0'
s.visionos.deployment_target = '1.0'
s.watchos.deployment_target = '4.0'
end