Skip to content

Commit bab25a7

Browse files
committed
initial import of quiche 0.10.0
0 parents  commit bab25a7

File tree

9 files changed

+294
-0
lines changed

9 files changed

+294
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
target/
2+
.idea/
3+
*.iml

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Jetty native quiche builds
2+
This project is providing the native builds of the Cloudflare Quiche (https://github.com/cloudflare/quiche) library used by the Jetty Project's HTTP/3 implementation.
3+
4+
## Current quiche version
5+
0.10.0
6+
7+
## Current targets
8+
- Linux amd64
9+
- Macos ARMv8
10+
- Macos amd64
11+
- Windows amd64
12+
13+
## How quiche was checked out and built
14+
```
15+
git clone --recursive https://github.com/cloudflare/quiche 0.10.0
16+
cd 0.10.0
17+
git checkout -b tag-0.10.0 tags/0.10.0
18+
cargo build --features ffi,qlog
19+
```
20+
21+
Resulting library: `ls target/debug/libquiche.(so|dylib)` or `dir target\debug\quiche.dll`

header-template.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
========================================================================
2+
Copyright (c) ${copyright-range} Mort Bay Consulting Pty Ltd and others.
3+
4+
This program and the accompanying materials are made available under the
5+
terms of the Eclipse Public License v. 2.0 which is available at
6+
https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
7+
which is available at https://www.apache.org/licenses/LICENSE-2.0.
8+
9+
SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
10+
========================================================================

pom.xml

Lines changed: 244 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,244 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<groupId>org.mortbay.jetty.quic.libquiche</groupId>
6+
<artifactId>jetty-quiche-native</artifactId>
7+
<version>0.10.0-SNAPSHOT</version>
8+
<name>Jetty :: Quiche native library</name>
9+
<url>https://github.com/jetty-project/jetty-quiche-native</url>
10+
<description>
11+
The Quiche native library used by the Jetty project
12+
</description>
13+
14+
<properties>
15+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16+
<maven.compiler.source>11</maven.compiler.source>
17+
<maven.compiler.target>11</maven.compiler.target>
18+
</properties>
19+
20+
<licenses>
21+
<license>
22+
<name>BSD 2-Clause "Simplified" License</name>
23+
<url>https://opensource.org/licenses/BSD-2-Clause</url>
24+
</license>
25+
</licenses>
26+
27+
<scm>
28+
<connection>scm:git:git://github.com/jetty-project/jetty-quiche-native.git</connection>
29+
<developerConnection>scm:git:ssh://[email protected]/jetty-project/jetty-quiche-native.git</developerConnection>
30+
<url>https://github.com/jetty-project/jetty-quiche-native</url>
31+
<tag>HEAD</tag>
32+
</scm>
33+
34+
<distributionManagement>
35+
<repository>
36+
<id>oss.sonatype.org</id>
37+
<name>Jetty Staging Repository</name>
38+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
39+
</repository>
40+
<snapshotRepository>
41+
<id>oss.sonatype.org</id>
42+
<name>Jetty Snapshot Repository</name>
43+
<url>https://oss.sonatype.org/content/repositories/jetty-snapshots/</url>
44+
</snapshotRepository>
45+
</distributionManagement>
46+
47+
<build>
48+
<plugins>
49+
<plugin>
50+
<groupId>org.apache.maven.plugins</groupId>
51+
<artifactId>maven-enforcer-plugin</artifactId>
52+
<inherited>false</inherited>
53+
<executions>
54+
<execution>
55+
<id>enforce-versions</id>
56+
<goals>
57+
<goal>enforce</goal>
58+
</goals>
59+
<configuration>
60+
<rules>
61+
<requireJavaVersion>
62+
<version>[1.8,)</version>
63+
</requireJavaVersion>
64+
<requireMavenVersion>
65+
<version>[3.5,)</version>
66+
</requireMavenVersion>
67+
</rules>
68+
</configuration>
69+
</execution>
70+
</executions>
71+
</plugin>
72+
<plugin>
73+
<groupId>com.mycila</groupId>
74+
<artifactId>license-maven-plugin</artifactId>
75+
<inherited>false</inherited>
76+
<configuration>
77+
<header>header-template.txt</header>
78+
<failIfMissing>true</failIfMissing>
79+
<aggregate>true</aggregate>
80+
<strictCheck>true</strictCheck>
81+
<properties>
82+
<copyright-range>1995-2021</copyright-range>
83+
</properties>
84+
<mapping>
85+
<java>DOUBLESLASH_STYLE</java>
86+
</mapping>
87+
<includes>
88+
<include>**/*.java</include>
89+
</includes>
90+
</configuration>
91+
<executions>
92+
<execution>
93+
<id>check-copyright-header</id>
94+
<phase>validate</phase>
95+
<goals>
96+
<goal>check</goal>
97+
</goals>
98+
</execution>
99+
</executions>
100+
</plugin>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-release-plugin</artifactId>
104+
<configuration>
105+
<autoVersionSubmodules>true</autoVersionSubmodules>
106+
<goals>deploy</goals>
107+
<preparationGoals>clean install</preparationGoals>
108+
<mavenExecutorId>forked-path</mavenExecutorId>
109+
<useReleaseProfile>true</useReleaseProfile>
110+
<releaseProfiles>release</releaseProfiles>
111+
</configuration>
112+
</plugin>
113+
</plugins>
114+
115+
<pluginManagement>
116+
<plugins>
117+
<plugin>
118+
<groupId>org.apache.maven.plugins</groupId>
119+
<artifactId>maven-clean-plugin</artifactId>
120+
<version>3.1.0</version>
121+
</plugin>
122+
<plugin>
123+
<groupId>org.apache.maven.plugins</groupId>
124+
<artifactId>maven-compiler-plugin</artifactId>
125+
<version>3.8.1</version>
126+
<configuration>
127+
<showDeprecation>true</showDeprecation>
128+
<showWarnings>true</showWarnings>
129+
</configuration>
130+
</plugin>
131+
<plugin>
132+
<groupId>org.apache.maven.plugins</groupId>
133+
<artifactId>maven-deploy-plugin</artifactId>
134+
<version>3.0.0-M1</version>
135+
</plugin>
136+
<plugin>
137+
<groupId>org.apache.maven.plugins</groupId>
138+
<artifactId>maven-enforcer-plugin</artifactId>
139+
<version>3.0.0</version>
140+
</plugin>
141+
<plugin>
142+
<groupId>org.apache.maven.plugins</groupId>
143+
<artifactId>maven-gpg-plugin</artifactId>
144+
<version>3.0.1</version>
145+
</plugin>
146+
<plugin>
147+
<groupId>org.apache.maven.plugins</groupId>
148+
<artifactId>maven-install-plugin</artifactId>
149+
<version>3.0.0-M1</version>
150+
</plugin>
151+
<plugin>
152+
<groupId>org.apache.maven.plugins</groupId>
153+
<artifactId>maven-jar-plugin</artifactId>
154+
<version>3.2.0</version>
155+
</plugin>
156+
<plugin>
157+
<groupId>org.apache.maven.plugins</groupId>
158+
<artifactId>maven-javadoc-plugin</artifactId>
159+
<version>3.3.0</version>
160+
<configuration>
161+
<source>8</source>
162+
<additionalOptions>
163+
<additionalOption>-html5</additionalOption>
164+
</additionalOptions>
165+
</configuration>
166+
</plugin>
167+
<plugin>
168+
<groupId>org.apache.maven.plugins</groupId>
169+
<artifactId>maven-release-plugin</artifactId>
170+
<version>3.0.0-M4</version>
171+
</plugin>
172+
<plugin>
173+
<groupId>org.apache.maven.plugins</groupId>
174+
<artifactId>maven-resources-plugin</artifactId>
175+
<version>3.2.0</version>
176+
</plugin>
177+
<plugin>
178+
<groupId>org.apache.maven.plugins</groupId>
179+
<artifactId>maven-scm-plugin</artifactId>
180+
<version>1.11.2</version>
181+
</plugin>
182+
<plugin>
183+
<groupId>org.apache.maven.plugins</groupId>
184+
<artifactId>maven-shade-plugin</artifactId>
185+
<version>3.2.4</version>
186+
</plugin>
187+
<plugin>
188+
<groupId>org.apache.maven.plugins</groupId>
189+
<artifactId>maven-site-plugin</artifactId>
190+
<version>3.9.1</version>
191+
</plugin>
192+
<plugin>
193+
<groupId>org.apache.maven.plugins</groupId>
194+
<artifactId>maven-source-plugin</artifactId>
195+
<version>3.2.1</version>
196+
</plugin>
197+
<plugin>
198+
<groupId>org.apache.maven.plugins</groupId>
199+
<artifactId>maven-surefire-plugin</artifactId>
200+
<version>3.0.0-M5</version>
201+
</plugin>
202+
<plugin>
203+
<groupId>com.mycila</groupId>
204+
<artifactId>license-maven-plugin</artifactId>
205+
<version>4.1</version>
206+
</plugin>
207+
</plugins>
208+
</pluginManagement>
209+
</build>
210+
211+
<developers>
212+
<developer>
213+
<id>lorban</id>
214+
<name>Ludovic Orban</name>
215+
<email>[email protected]</email>
216+
<organization>Webtide</organization>
217+
<organizationUrl>https://webtide.com</organizationUrl>
218+
</developer>
219+
</developers>
220+
221+
<profiles>
222+
<profile>
223+
<id>release</id>
224+
<build>
225+
<plugins>
226+
<plugin>
227+
<groupId>org.apache.maven.plugins</groupId>
228+
<artifactId>maven-gpg-plugin</artifactId>
229+
<executions>
230+
<execution>
231+
<id>sign-artifacts</id>
232+
<phase>verify</phase>
233+
<goals>
234+
<goal>sign</goal>
235+
</goals>
236+
</execution>
237+
</executions>
238+
</plugin>
239+
</plugins>
240+
</build>
241+
</profile>
242+
</profiles>
243+
244+
</project>

src/main/java/module-info.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
//
2+
// ========================================================================
3+
// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others.
4+
//
5+
// This program and the accompanying materials are made available under the
6+
// terms of the Eclipse Public License v. 2.0 which is available at
7+
// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
8+
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
9+
//
10+
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
11+
// ========================================================================
12+
//
13+
14+
module org.mortbay.jetty.quic.libquiche
15+
{
16+
}
Binary file not shown.
6.81 MB
Binary file not shown.
26.3 MB
Binary file not shown.
3.67 MB
Binary file not shown.

0 commit comments

Comments
 (0)