Cargo.toml 556 B

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