Skip to content

Commit 0e6e19e

Browse files
committed
wip: add nginx-src crate with vendored nginx sources
Fixes: #85
1 parent 6e23959 commit 0e6e19e

File tree

12 files changed

+230
-230
lines changed

12 files changed

+230
-230
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
steps:
3535
- name: checkout source
3636
uses: actions/checkout@v4
37+
with:
38+
submodules: true
3739
- name: set up cargo cache
3840
uses: actions/cache@v4
3941
continue-on-error: false
@@ -89,6 +91,8 @@ jobs:
8991
steps:
9092
- name: checkout source
9193
uses: actions/checkout@v4
94+
with:
95+
submodules: true
9296
- name: set up cargo cache
9397
uses: actions/cache@v4
9498
continue-on-error: false
@@ -123,6 +127,8 @@ jobs:
123127
- name: install command line dependencies
124128
run: brew install make gnupg
125129
- uses: actions/checkout@v4
130+
with:
131+
submodules: true
126132
- uses: dtolnay/rust-toolchain@stable
127133
- name: set up cargo cache
128134
uses: actions/cache@v4

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "nginx-src/nginx"]
2+
path = nginx-src/nginx
3+
url = https://github.com/nginx/nginx.git
4+
branch = stable-1.28

Cargo.lock

Lines changed: 8 additions & 214 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[workspace]
22
members = [
3+
"nginx-src",
34
"nginx-sys",
45
"examples",
56
]

deny.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,15 @@ all-features = true
66

77
[licenses]
88
allow = [
9-
"Apache-2.0 WITH LLVM-exception",
109
"Apache-2.0",
10+
"BSD-2-Clause",
1111
"BSD-3-Clause",
1212
"ISC",
1313
"MIT",
1414
"Unicode-3.0",
1515
]
1616
confidence-threshold = 0.8
1717

18-
[[licenses.exceptions]]
19-
crate = "webpki-roots"
20-
allow = ["CDLA-Permissive-2.0", "MPL-2.0"]
21-
2218
[[licenses.clarify]]
2319
crate = "ring"
2420
expression = "MIT AND ISC AND OpenSSL"

nginx-src/Cargo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
name = "nginx-src"
3+
version = "1028.0.0"
4+
license = "BSD-2-Clause"
5+
description = "Source of NGINX"
6+
keywords = ["nginx", "module", "sys"]
7+
edition.workspace = true
8+
homepage.workspace = true
9+
repository.workspace = true
10+
rust-version.workspace = true
11+
12+
[dependencies]
13+
duct = "1"

0 commit comments

Comments
 (0)