tor/src/rust/protover
Isis Lovecruft 52c3ea5045
rust: Refactor Rust impl of protover_list_supports_protocol().
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()` to use new types
   and methods.
2018-04-02 19:20:32 +00:00
..
tests rust: Refactor protover tests with new methods; note altered behaviours. 2018-04-02 19:20:31 +00:00
Cargo.toml Merge branch 'maint-0.3.3' 2018-03-21 17:05:42 -04:00
errors.rs rust: Implement error types for Rust protover implementation. 2018-04-02 18:27:39 +00:00
ffi.rs rust: Refactor Rust impl of protover_list_supports_protocol(). 2018-04-02 19:20:32 +00:00
lib.rs rust: Add new protover::UnvalidatedProtoEntry type. 2018-04-02 19:20:27 +00:00
protoset.rs rust: Implement more memory-efficient protover datatype. 2018-04-02 19:04:19 +00:00
protover.rs rust: Refactor protover tests with new methods; note altered behaviours. 2018-04-02 19:20:31 +00:00