-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
44 lines (37 loc) · 979 Bytes
/
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
[package]
name = "nng-c"
version = "1.10.1"
authors = ["Douman <[email protected]>"]
edition = "2018"
keywords = ["nng", "nanomsg"]
categories = ["api-bindings"]
description = "High level bindings nng C library"
license = "BSL-1.0"
repository = "https://github.com/DoumanAsh/nng-c"
documentation = "https://docs.rs/crate/nng-c"
[dependencies.error-code]
version = "3"
[dependencies.nng-c-sys]
version = "1.10.1"
[dependencies.log]
version = "0.4"
default-features = false
optional = true
[dependencies.tracing]
version = "0.1"
default-features = false
optional = true
[[test]]
name = "tls"
required-features = ["tls"]
[features]
# Enables HTTP transport code
http = ["nng-c-sys/http"]
# Enables websocket transport code
websocket = ["nng-c-sys/websocket"]
# Enables TLS transport code
tls = ["nng-c-sys/tls"]
[package.metadata.docs.rs]
features = ["http", "websocket", "tls", "tracing", "log"]
# defines the configuration attribute `docsrs`
rustdoc-args = ["--cfg", "docsrs"]