Cargo.toml 842 B

12345678910111213141516171819202122232425262728293031
  1. [workspace]
  2. members = [
  3. "crypto",
  4. "external",
  5. "protover",
  6. "smartlist",
  7. "tor_allocate",
  8. "tor_log",
  9. "tor_rust",
  10. "tor_util",
  11. ]
  12. [profile.release]
  13. debug = true
  14. panic = "abort"
  15. [features]
  16. default = []
  17. # If this feature is enabled, test code which calls Tor C code from Rust will
  18. # execute with `cargo test`. Due to numerous linker issues (#25386), this is
  19. # currently disabled by default. Crates listed here are those which, in their
  20. # unittests, doctests, and/or integration tests, call C code.
  21. test-c-from-rust = [
  22. "crypto/test-c-from-rust",
  23. ]
  24. # We have to define a feature here because doctests don't get cfg(test),
  25. # and we need to disable some C dependencies when running the doctests
  26. # because of the various linker issues. See
  27. # https://github.com/rust-lang/rust/issues/45599
  28. test_linking_hack = []