forked from rustls/rustls-ffi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
38 lines (35 loc) · 1.16 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
[package]
name = "rustls-ffi"
version = "0.10.0"
authors = ["Jacob Hoffman-Andrews <[email protected]>"]
license = "Apache-2.0/ISC/MIT"
readme = "README-crates.io.md"
description = "Rustls bindings for non-Rust languages"
homepage = "https://github.com/rustls/rustls-ffi"
repository = "https://github.com/rustls/rustls-ffi"
categories = ["network-programming", "cryptography"]
edition = "2021"
links = "rustls_ffi"
rust-version = "1.57"
[features]
# Enable this feature when building as Rust dependency. It inhibits the
# default behavior of capturing the global logger, which only works when
# built using the Makefile, which passes -C metadata=rustls-ffi to avoid
# interfering with copies of the global logger brought in by other Rust
# libraries.
no_log_capture = []
read_buf = ["rustls/read_buf"]
[dependencies]
# Keep in sync with RUSTLS_CRATE_VERSION in build.rs
rustls = { version = "=0.21.0", features = [ "dangerous_configuration" ] }
webpki = "0.22"
libc = "0.2"
sct = "0.7"
rustls-pemfile = "0.2.1"
log = "0.4.17"
num_enum = "0.5.10"
liquid_ffi = { path = "../../.." }
[lib]
name = "rustls_ffi"
crate-type = ["cdylib", "rlib"]
# crate-type = ["lib", "staticlib"]