-
Notifications
You must be signed in to change notification settings - Fork 25
/
Cargo.toml
42 lines (39 loc) · 1.14 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
[package]
name = "webthing"
version = "0.15.2"
authors = ["WebThingsIO <[email protected]>"]
repository = "https://github.com/WebThingsIO/webthing-rust"
homepage = "https://github.com/WebThingsIO/webthing-rust"
license = "MPL-2.0"
readme = "README.md"
description = "Implementation of an HTTP Web Thing."
edition = "2021"
[dependencies]
actix = { version = "0.13", optional = true }
actix-web = { version = "4.0.0", optional = true }
actix-web-actors = { version = "4.0.0", optional = true }
chrono = { version = "0.4.22", default_features = false, features = ["std"] }
futures = { version = "0.3", optional = true }
hostname = { version = "0.3", optional = true }
if-addrs = { version = "0.7", optional = true }
libmdns = { version = "0.7", optional = true }
openssl = { version = "0.10", optional = true }
serde_json = "1.0"
uuid = { version = "1.0", features = ["v4"] }
valico = "3.5"
[dev-dependencies]
actix-rt = "2.6"
env_logger = "0.9"
rand = "0.8"
[features]
default = ["actix"]
actix = [
"dep:actix",
"actix-web",
"actix-web-actors",
"futures",
"if-addrs",
"hostname",
"libmdns",
]
ssl = ["actix", "actix-web/openssl", "openssl"]