-
-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathCargo.toml
48 lines (44 loc) · 1.26 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
[package]
name = "hubcaps"
version = "0.6.2"
authors = ["softprops <[email protected]>"]
description = "Rust interface for Github"
documentation = "https://docs.rs/hubcaps/"
homepage = "https://github.com/softprops/hubcaps"
repository = "https://github.com/softprops/hubcaps"
keywords = ["hyper", "github"]
license = "MIT"
categories = ["api-bindings", "web-programming::http-client"]
readme = "README.md"
edition = "2018"
[badges]
maintenance = { status = "actively-developed" }
[dev-dependencies]
pretty_env_logger = "0.4"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
[dependencies]
base64 = "0.13"
data-encoding = "2"
dirs = { version = "3.0", optional = true }
futures = { version = "0.3", default-features = false }
http = "0.2"
hyperx = "1"
jsonwebtoken = { version = "7", optional = true }
log = "0.4"
mime = "0.3"
percent-encoding = "2"
reqwest = { version = "0.11", default-features = false }
serde = { version = "1.0", features = ['derive'] }
serde_derive = "1.0"
serde_json = "1.0"
url = "2"
[features]
default = ["app", "default-tls"]
# enable native tls
default-tls = ["reqwest/default-tls"]
app = ["jwt"]
jwt = ["jsonwebtoken"]
# enable rustls
rustls-tls = ["reqwest/rustls-tls"]
# enable etag-based http_cache functionality
httpcache = ["dirs"]