tor/src/rust
Isis Lovecruft 35b86a12e6
rust: Refactor protover::is_supported_here().
This changes `protover::is_supported_here()` to be aware of new datatypes
(e.g. don't call `.0` on things which are no longer tuple structs) and also
changes the method signature to take borrows, making it faster, threadable, and
easier to read (i.e. the caller can know from reading the function signature
that the function won't mutate values passed into it).

 * CHANGE the `protover::is_supported_here()` function to take borrows.
 * REFACTOR the `protover::is_supported_here()` function to be aware of new
   datatypes.
 * FIXES part of #24031: https://bugs.torproject.org/24031
2018-04-02 19:34:25 +00:00
..
.cargo rename {,TOR_}RUST_DEPENDENCIES 2017-11-01 13:45:15 -04:00
external maint: Update Rust libc dependency from 0.2.22 to 0.2.39. 2018-03-21 17:04:28 -04:00
protover rust: Refactor protover::is_supported_here(). 2018-04-02 19:34:25 +00:00
smartlist maint: Update Rust libc dependency from 0.2.22 to 0.2.39. 2018-03-21 17:04:28 -04:00
tor_allocate maint: Update Rust libc dependency from 0.2.22 to 0.2.39. 2018-03-21 17:04:28 -04:00
tor_rust Change our build process to run Cargo from inside the build tree 2017-12-05 14:23:55 -05:00
tor_util maint: Update Rust libc dependency from 0.2.22 to 0.2.39. 2018-03-21 17:04:28 -04:00
.rustfmt.toml Add rustfmt.toml 2017-05-19 08:47:11 -04:00
Cargo.lock maint: Update Rust libc dependency from 0.2.22 to 0.2.39. 2018-03-21 17:04:28 -04:00
Cargo.toml refactor build infrastructure for single rust binary 2017-10-27 10:02:08 -04:00
include.am Include rust files in 'make dist' 2017-10-27 12:19:31 -04:00