-
Notifications
You must be signed in to change notification settings - Fork 24
/
Cargo.toml
57 lines (52 loc) · 1.79 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
54
55
56
57
[package]
name = "openstack"
description = "OpenStack SDK for Rust"
version = "0.5.0" # remember to update html_root_url
authors = ["Dmitry Tantsur <[email protected]>"]
homepage = "https://github.com/dtantsur/rust-openstack"
repository = "https://github.com/dtantsur/rust-openstack"
documentation = "https://docs.rs/openstack"
readme = "README.md"
license = "Apache-2.0"
keywords = ["api", "cloud", "openstack"]
categories = ["api-bindings"]
edition = "2021"
rust-version = "1.71"
[features]
default = ["block-storage", "compute", "image", "network", "native-tls", "object-storage"]
block-storage = []
compute = []
identity = [] # reserved for future use
image = []
network = []
native-tls = ["reqwest/default-tls", "osauth/native-tls"]
object-storage = ["tokio-util"]
rustls = ["reqwest/rustls-tls", "osauth/rustls"]
[dependencies]
async-stream = "^0.3"
async-trait = "^0.1"
chrono = { version = "^0.4", features = ["serde"] }
macaddr = { version = "^1.0", features = ["serde_std"]}
futures = "^0.3"
ipnet = { version = "^2.0", features = ["serde"] }
log = "^0.4"
osauth = { version = "^0.5", default-features = false, features = ["stream"] }
pin-project = "^1.0"
reqwest = { version = "^0.12", default-features = false, features = ["gzip", "http2", "json", "stream"] }
serde = "^1.0"
serde_derive = "^1.0"
serde_json = "^1.0"
serde_yaml = "^0.9"
tokio-util = { version = "^0.7", features = ["codec", "compat"], optional = true }
waiter = { version = "^0.2" }
[dev-dependencies]
env_logger = "^0.11"
md-5 = "^0.10"
hex = "^0.4"
tokio = { version = "^1.21", features = ["macros"] }
[lib]
name = "openstack"
path = "src/lib.rs"
[lints.rust]
# TODO: remove block-storage-snapshot once the snapshot API is implemented
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(feature, values("block-storage-snapshot", "test"))'] }