-
Notifications
You must be signed in to change notification settings - Fork 10
/
Cargo.toml
40 lines (34 loc) · 1 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
[package]
name = "libtor-sys"
version = "47.13.0+0.4.7.x"
authors = ["Alekos Filini <[email protected]>"]
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"
build = "build.rs"
links = "tor"
[dependencies]
openssl-sys = "0.9"
libz-sys = { version = "~1.1.3", features = ["static"] }
lzma-sys = { version = "0.1", optional = true }
zstd-sys = { version = "1.6", optional = true }
[build-dependencies]
# libtor-src = { path = "./libtor-src" }
libtor-src = "47.13"
cc = "1.0"
autotools = "^0.2.2"
[lib]
name = "tor_sys"
path = "src/lib.rs"
[features]
vendored-openssl = ["openssl-sys/vendored"]
vendored-lzma = ["lzma-sys", "lzma-sys/static", "with-lzma"]
vendored-zstd = ["zstd-sys", "with-zstd"]
with-lzma = []
with-zstd = []
[workspace]
members = ["libtor-src"]