lib.rs 533 B

12345678910111213141516171819
  1. //! Copyright (c) 2016-2018, The Tor Project, Inc. */
  2. //! See LICENSE for licensing information */
  3. //! Interface for external calls to tor C ABI
  4. //!
  5. //! The purpose of this module is to provide a clean interface for when Rust
  6. //! modules need to interact with functionality in tor C code rather than each
  7. //! module implementing this functionality repeatedly.
  8. extern crate libc;
  9. extern crate tor_allocate;
  10. extern crate smartlist;
  11. pub mod crypto_digest;
  12. mod crypto_rand;
  13. mod external;
  14. pub use crypto_rand::*;
  15. pub use external::*;