tor/src/rust
Isis Lovecruft aa241e99de
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:20:30 +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:20:30 +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 Merge branch 'maint-0.3.3' 2018-03-21 17:05:42 -04:00
tor_log Update tor_log to libc 0.2.39 as well. 2018-03-21 17:14:15 -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 Merge branch 'maint-0.3.3' 2018-03-21 17:05:42 -04:00
.rustfmt.toml Add rustfmt.toml 2017-05-19 08:47:11 -04:00
Cargo.lock Update tor_log to libc 0.2.39 as well. 2018-03-21 17:14:15 -04:00
Cargo.toml add minimal rust module for logging to tor's logger 2017-12-21 15:29:33 -05:00
include.am Include rust files in 'make dist' 2017-10-27 12:19:31 -04:00