Cargo.toml 540 B

123456789101112131415161718192021
  1. [package]
  2. authors = ["The Tor Project"]
  3. version = "0.0.1"
  4. name = "external"
  5. [dependencies]
  6. libc = "=0.2.39"
  7. smartlist = { path = "../smartlist" }
  8. tor_allocate = { path = "../tor_allocate" }
  9. [lib]
  10. name = "external"
  11. path = "lib.rs"
  12. crate_type = ["rlib", "staticlib"]
  13. [features]
  14. # We have to define a feature here because doctests don't get cfg(test),
  15. # and we need to disable some C dependencies when running the doctests
  16. # because of the various linker issues. See
  17. # https://github.com/rust-lang/rust/issues/45599
  18. test_linking_hack = []