-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
53 lines (42 loc) · 1.36 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
48
49
50
51
52
53
[package]
name = "nng-sys"
version = "1.4.0-rc.0"
authors = ["Nathan Kent <[email protected]>", "Jake W <[email protected]>"]
description = "Bindings to NNG (Nanomsg-Next-Generation) aka Nanomsg2"
keywords = ["nng", "nanomsg", "zeromq"]
categories = ["network-programming", "external-ffi-bindings", "os"]
license = "MIT"
repository = "https://github.com/jeikabu/nng-rust"
readme = "README.md"
edition = "2018"
[badges]
travis-ci = { repository = "jeikabu/nng-rust", branch = "master" }
[features]
default = ["build-nng", "nng-stats"]
# Whether or not to build the NNG library
build-nng = ["cmake"]
# Whether or not to run bindgen
build-bindgen = ["bindgen"]
# Cmake generators
cmake-unix = ["build-nng"]
cmake-ninja = ["build-nng"]
cmake-vs2017-win64 = ["build-nng"]
cmake-vs2017 = ["build-nng"]
cmake-vs2019 = ["build-nng"]
# NNG Options
nng-stats = ["build-nng"]
nng-tls = ["build-nng"]
nng-compat = ["build-bindgen"]
nng-supplemental = ["build-bindgen"]
no_std = ["cty"]
## `source-` features should only be used when working with the source code (as opposed to using a crate)
# Update `src/bindings.rs`
source-update-bindings = ["build-bindgen"]
[dependencies]
cty = {version = "0.2", optional = true}
[build-dependencies]
cmake = {version = "0.1.44", optional = true}
bindgen = {version = "0.54", optional = true}
version_check = "0.9"
[package.metadata.docs.rs]
all-features = false