tor/src/rust/protover
Isis Lovecruft 269053a380
rust: Refactor Rust impl of protover_list_supports_protocol_or_later().
This includes a subtle difference in behaviour, as in 4258f1e18, where we return
(matching the C impl's return behaviour) earlier than before if parsing failed,
saving us computation in parsing the versions into a
protover::protoset::ProtoSet.

 * REFACTOR `protover::ffi::protover_list_supports_protocol_or_later()` to use
   new types and methods.
2018-04-02 19:36:25 +00:00
..
tests rust: Refactor protover tests with new methods; note altered behaviours. 2018-04-02 19:34:25 +00:00
Cargo.toml maint: Update Rust libc dependency from 0.2.22 to 0.2.39. 2018-03-21 17:04:28 -04:00
errors.rs rust: Implement error types for Rust protover implementation. 2018-04-02 19:24:32 +00:00
ffi.rs rust: Refactor Rust impl of protover_list_supports_protocol_or_later(). 2018-04-02 19:36:25 +00:00
lib.rs rust: Implement more memory-efficient protover datatype. 2018-04-02 19:26:26 +00:00
protoset.rs rust: Implement more memory-efficient protover datatype. 2018-04-02 19:26:26 +00:00
protover.rs rust: Refactor protover tests with new methods; note altered behaviours. 2018-04-02 19:34:25 +00:00