Cargo.toml 889 B

123456789101112131415161718192021222324252627282930313233
  1. [package]
  2. authors = ["The Tor Project",
  3. "Isis Lovecruft <isis@torproject.org>"]
  4. name = "crypto"
  5. version = "0.0.1"
  6. publish = false
  7. [lib]
  8. name = "crypto"
  9. path = "lib.rs"
  10. crate_type = ["rlib", "staticlib"]
  11. [dependencies]
  12. libc = "=0.2.39"
  13. digest = "=0.7.2"
  14. rand_core = { version = "=0.2.0-pre.0", default-features = false }
  15. external = { path = "../external" }
  16. smartlist = { path = "../smartlist" }
  17. tor_allocate = { path = "../tor_allocate" }
  18. tor_log = { path = "../tor_log" }
  19. [dev-dependencies]
  20. rand = { version = "=0.5.0-pre.2", default-features = false }
  21. rand_core = { version = "=0.2.0-pre.0", default-features = false }
  22. [features]
  23. testing = ["tor_log/testing"]
  24. # If this feature is enabled, test code which calls Tor C code from Rust will
  25. # execute with `cargo test`. Due to numerous linker issues (#25386), this is
  26. # currently disabled by default.
  27. test-c-from-rust = []