forked from jayjamesjay/http_req
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Cargo.toml
46 lines (39 loc) · 1.24 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
[package]
name = "http_req"
version = "0.7.2"
license = "MIT"
description = "simple and lightweight HTTP client with built-in HTTPS support"
repository = "https://github.com/jayjamesjay/http_req"
authors = ["jayjamesjay"]
readme = "README.md"
categories = ["web-programming::http-client", "network-programming"]
keywords = ["http", "client", "request"]
edition = "2018"
exclude = [ "sgx/*", ]
[dependencies]
unicase = { git = "https://github.com/mesalock-linux/unicase-sgx" }
sgx_tstd = { rev = "v1.1.3", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true ,features = ["net", "untrusted_time"]}
[features]
default = ["rust-tls", "mesalock_sgx"]
rust-tls = ["rustls", "webpki", "webpki-roots"]
mesalock_sgx = ["sgx_tstd"]
#[dependencies.native-tls]
#version = "^0.2"
#optional = true
[dependencies.rustls]
version = "^0.19"
git = "https://github.com/mesalock-linux/rustls"
branch = "mesalock_sgx"
optional = true
[dependencies.webpki]
version = "^0.21"
git = "https://github.com/mesalock-linux/webpki"
branch = "mesalock_sgx"
optional = true
[dependencies.webpki-roots]
version = "^0.21"
git = "https://github.com/mesalock-linux/webpki-roots"
branch = "mesalock_sgx"
optional = true
[badges]
travis-ci = { repository = "jayjamesjay/http_req"}