mirror of
https://github.com/apple/swift-nio-extras
synced 2026-11-22 04:30:42 +00:00
### Motivation: Relying on the system zlib causes issues if that library (or its headers) doesn't ship with the system. ### Modifications: Vendor it. ### Result: - Fewer dependencies. - Binary size increase negligible. The _sum of the debug builds_ of all `.o` files is less than 200kB. A linked release build will make this even smaller: ``` $ du -k .build/arm64-apple-macosx/debug/CNIOExtrasZlib.build/*.o 12 .build/arm64-apple-macosx/debug/CNIOExtrasZlib.build/adler32.c.o 12 .build/arm64-apple-macosx/debug/CNIOExtrasZlib.build/crc32.c.o 60 .build/arm64-apple-macosx/debug/CNIOExtrasZlib.build/deflate.c.o 16 .build/arm64-apple-macosx/debug/CNIOExtrasZlib.build/inffast.c.o 40 .build/arm64-apple-macosx/debug/CNIOExtrasZlib.build/inflate.c.o 16 .build/arm64-apple-macosx/debug/CNIOExtrasZlib.build/inftrees.c.o 40 .build/arm64-apple-macosx/debug/CNIOExtrasZlib.build/trees.c.o 8 .build/arm64-apple-macosx/debug/CNIOExtrasZlib.build/zutil.c.o ``` Co-authored-by: Johannes Weiss <johannes@jweiss.io>
55 lines
1.8 KiB
Plaintext
55 lines
1.8 KiB
Plaintext
|
|
The SwiftNIO Project
|
|
====================
|
|
|
|
Please visit the SwiftNIO web site for more information:
|
|
|
|
* https://github.com/apple/swift-nio
|
|
|
|
Copyright 2017, 2018 The SwiftNIO Project
|
|
|
|
The SwiftNIO Project licenses this file to you under the Apache License,
|
|
version 2.0 (the "License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at:
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
License for the specific language governing permissions and limitations
|
|
under the License.
|
|
|
|
Also, please refer to each LICENSE.<component>.txt file, which is located in
|
|
the 'license' directory of the distribution file, for the license terms of the
|
|
components that this product depends on.
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
This product contains a derivation of the Tony Stone's 'process_test_files.rb'.
|
|
|
|
* LICENSE (Apache License 2.0):
|
|
* https://www.apache.org/licenses/LICENSE-2.0
|
|
* HOMEPAGE:
|
|
* https://codegists.com/snippet/ruby/generate_xctest_linux_runnerrb_tonystone_ruby
|
|
|
|
---
|
|
|
|
This product contains a derivation of "HTTP1ProxyConnectHandler.swift" and accompanying tests from AsyncHTTPClient.
|
|
|
|
* LICENSE (Apache License 2.0):
|
|
* https://www.apache.org/licenses/LICENSE-2.0
|
|
* HOMEPAGE:
|
|
* https://github.com/swift-server/async-http-client
|
|
|
|
---
|
|
|
|
This product contains a vendored copy of zlib with symbols prefixed as "cnioextras_z_".
|
|
|
|
* LICENSE (zlib License):
|
|
* https://www.zlib.net/zlib_license.html
|
|
* HOMEPAGE:
|
|
* https://www.zlib.net/
|
|
|
|
---
|