forked from MagicalBitcoin/libtor-sys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
41 lines (36 loc) · 1002 Bytes
/
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
[package]
name = "libtor-sys"
version = "45.7.1+0.4.5.7"
authors = ["Alekos Filini <alekos.filini@gmail.com>"]
license = "MIT"
homepage = "https://github.com/MagicalBitcoin/libtor-sys"
repository = "https://github.com/MagicalBitcoin/libtor-sys"
documentation = "https://docs.rs/libtor-sys/"
description = "Rust crate that internally compiles Tor and its dependencies"
keywords = ["tor", "daemon"]
readme = "README.md"
exclude = [
"patches",
"tor-src/ChangeLog",
"tor-src/ReleaseNotes",
]
build = "build.rs"
links = "tor"
[dependencies]
openssl-sys = "0.9"
libz-sys = { version = "1.0", features = ["static"] }
lzma-sys = { version = "0.1", optional = true }
zstd-sys = { version = "1.4", optional = true }
[build-dependencies]
cc = "1.0"
autotools = "0.2"
fs_extra = "1.1"
[lib]
name = "tor_sys"
path = "src/lib.rs"
[features]
vendored-openssl = ["openssl-sys/vendored"]
vendored-lzma = ["lzma-sys", "with-lzma"]
vendored-zstd = ["zstd-sys", "with-zstd"]
with-lzma = []
with-zstd = []