aboutsummaryrefslogtreecommitdiff
path: root/src/rust/external/Cargo.toml
blob: d5c3a739e0a0106b0ef84052d8356677fb427f7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[package]
authors = ["The Tor Project"]
version = "0.0.1"
name = "external"

[dependencies]
libc = "=0.2.39"
smartlist = { path = "../smartlist" }
tor_allocate = { path = "../tor_allocate" }

[lib]
name = "external"
path = "lib.rs"
crate_type = ["rlib", "staticlib"]

[features]
# We have to define a feature here because doctests don't get cfg(test),
# and we need to disable some C dependencies when running the doctests
# because of the various linker issues.  See
# https://github.com/rust-lang/rust/issues/45599
test_linking_hack = []