mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
38d644c94b
Only the final crate needs to be a `staticlib`, no need for all the intermediate steps to produce staticlibs!
21 lines
505 B
TOML
21 lines
505 B
TOML
[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"
|
|
|
|
[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 = []
|