-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathCargo.toml
More file actions
31 lines (29 loc) · 1.45 KB
/
Cargo.toml
File metadata and controls
31 lines (29 loc) · 1.45 KB
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
[package]
name = "devolutions-pedm-shared"
version = "0.0.0"
edition = "2021"
license = "MIT/Apache-2.0"
authors = ["Devolutions Inc. <infos@devolutions.net>"]
description = "Shared code for Devolutions PEDM"
publish = false
[dependencies]
anyhow = { version = "1.0", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
win-api-wrappers = { path = "../win-api-wrappers", optional = true }
hyper = { version = "~0.14", features = ["client", "http1"], optional = true } # old version required for OpenAPI generator
serde_json = { version = "1.0", optional = true }
tokio = { version = "1.45", features = ["net", "sync"], optional = true }
glob = { version = "0.3", optional = true }
regex = { version = "1.11", optional = true }
schemars = { version = "0.8", features = ["uuid1"], optional = true }
windows-registry = { version = "0.5", optional = true }
devolutions-pedm-client-http = { path = "./devolutions-pedm-client-http", optional = true }
tower = { version = "0.3", optional = true } # old version required for OpenAPI generator
pin-project = { version = "1.1", optional = true }
uuid = { version = "1", features = ["v4", "serde"]}
dunce = "1.0"
[features]
pedm_client = ["hyper", "serde_json", "tokio", "win-api-wrappers", "policy", "serde", "devolutions-pedm-client-http", "tower", "pin-project", "anyhow"]
policy = ["regex", "schemars", "serde", "glob", "anyhow"]
build = []
desktop = ["windows-registry", "win-api-wrappers", "anyhow"]