-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathCargo.toml
47 lines (41 loc) · 1.33 KB
/
Cargo.toml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[workspace]
members = [
"nginx-sys",
"examples",
]
[workspace.package]
edition = "2021"
license = "Apache-2.0"
homepage = "https://github.com/nginxinc/ngx-rust"
repository = "https://github.com/nginxinc/ngx-rust"
rust-version = "1.79.0"
[package]
name = "ngx"
version = "0.5.0"
autoexamples = false
categories = ["api-bindings", "network-programming"]
description = "FFI bindings to NGINX"
keywords = ["nginx", "module", "sys"]
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true
[dependencies]
nginx-sys = { path = "nginx-sys", default-features=false, version = "0.5.0"}
[features]
default = ["vendored","std"]
# Enables the components using memory allocation.
# If no `std` flag, `alloc` crate is internally used instead. This flag is mainly for `no_std` build.
alloc = []
# Enables the components using `std` crate.
# Currently the only difference to `alloc` flag is `std::error::Error` implementation.
std = ["alloc"]
# Build our own copy of the NGINX by default.
# This could be disabled with `--no-default-features` to minimize the dependency tree
# when building against an existing copy of the NGINX with the NGX_OBJS variable.
vendored = ["nginx-sys/vendored"]
[badges]
maintenance = { status = "experimental" }
[dev-dependencies]
target-triple = "0.1.2"