summaryrefslogtreecommitdiff
path: root/src/rust/protover
Commit message (Expand)AuthorAgeFilesLines
* Fix Rust -> C FFI tests.Alex Xu (Hello71)2018-04-292-0/+15
* rust: Fix ProtoSet and ProtoEntry to use the same DoS limits as C.Isis Lovecruft2018-04-023-24/+22
* rust: Port all C protover_all_supported tests to Rust.Isis Lovecruft2018-04-021-3/+83
* rust: Refactor protover::compute_for_old_tor().Isis Lovecruft2018-04-022-10/+46
* rust: Refactor Rust implementation of protover_is_supported_here().Isis Lovecruft2018-04-021-1/+1
* rust: Refactor Rust impl of protover_compute_vote().Isis Lovecruft2018-04-021-2/+13
* rust: Refactor Rust impl of protover_list_supports_protocol_or_later().Isis Lovecruft2018-04-021-6/+8
* rust: Refactor Rust impl of protover_list_supports_protocol().Isis Lovecruft2018-04-021-8/+10
* rust: Refactor Rust impl of protover_all_supported().Isis Lovecruft2018-04-021-4/+11
* rust: Refactor protover tests with new methods; note altered behaviours.Isis Lovecruft2018-04-022-284/+285
* rust: Refactor protover::is_supported_here().Isis Lovecruft2018-04-021-10/+9
* rust: Add new ProtoverVote type and refactor functions to methods.Isis Lovecruft2018-04-021-99/+90
* rust: Add macro for `impl ToString for {Unvalidated}ProtoEntry`.Isis Lovecruft2018-04-021-0/+21
* rust: Add new protover::UnvalidatedProtoEntry type.Isis Lovecruft2018-04-022-198/+208
* rust: Add new protover::ProtoEntry type which uses new datatypes.Isis Lovecruft2018-04-021-85/+75
* rust: Add new protover::UnknownProtocol type.Isis Lovecruft2018-04-022-28/+55
* rust: Implement more memory-efficient protover datatype.Isis Lovecruft2018-04-023-208/+641
* rust: Implement error types for Rust protover implementation.Isis Lovecruft2018-04-023-2/+50
* Merge branch 'maint-0.3.3'Nick Mathewson2018-03-211-1/+1
|\
| * maint: Update Rust libc dependency from 0.2.22 to 0.2.39.Isis Lovecruft2018-03-211-1/+1
* | Merge remote-tracking branch 'isis/bug23881_r1'Nick Mathewson2018-03-194-6/+31
|\ \
| * | fixups from code reviewChelsea Holland Komlo2018-01-221-4/+4
| * | allow running protover test with a testing feature flagChelsea Holland Komlo2017-12-211-0/+3
| * | move macro body to inline rust functionChelsea Holland Komlo2017-12-212-1/+3
| * | cargo fmt fixesChelsea Holland Komlo2017-12-212-6/+6
| * | add minimal rust module for logging to tor's loggerChelsea Holland Komlo2017-12-213-3/+21
* | | Merge remote-tracking branch 'isis/bug25185'Nick Mathewson2018-02-153-75/+55
|\ \ \ | |_|/ |/| |
| * | rust: Remove now unused byte_slice_is_c_like() utility.Isis Lovecruft2018-02-101-1/+0
| * | rust: Remove empty_static_cstr() in favour of new cstr!() macro.Isis Lovecruft2018-02-101-2/+1
| * | rust: Use tor_util::strings utils for protover_compute_for_old_tor.Isis Lovecruft2018-02-102-27/+13
| * | rust: Use tor_util::strings utils for protover_get_supported_protocols.Isis Lovecruft2018-02-103-45/+41
* | | rust protover: match the C implementation on empty-str casesNick Mathewson2018-02-151-7/+8
* | | Forbid u32::MAX as a protover range element in rustNick Mathewson2018-02-151-2/+11
* | | Rust protover compat: forbid more than MAX_VERSIONS_TO_EXPAND in a rangeNick Mathewson2018-02-151-3/+12
|/ /
* | rust: Replace two `unwrap()`s in FFI code with `unwrap_or()`s.Isis Lovecruft2018-02-102-2/+2
* | Merge remote-tracking branch 'frewsxcv/frewsxcv-protover'Nick Mathewson2018-02-081-143/+152
|\ \
| * | Wrap types in protover.rs.Corey Farwell2018-01-291-143/+164
* | | Stop claiming that compute_for_old_tor() returns pairsNick Mathewson2018-02-081-2/+2
* | | Remove new unsafe {} use.Nick Mathewson2018-02-082-12/+9
* | | protover: Fix memleak in Rust impl of protover_compute_for_old_tor.Isis Lovecruft2018-02-073-31/+43
* | | protover: Fix memleak in Rust implementation.Isis Lovecruft2018-02-062-28/+48
* | | Add Link protocol version 5 to the supported protocols list in protover.rsteor2018-01-301-2/+2
|/ /
* | [fixup] this might be an improvement?Corey Farwell2017-12-281-4/+8
* | Remove unneeded heap allocations in protover.rs.Corey Farwell2017-12-271-14/+10
|/
* annotate where C and Rust need to stay in syncChelsea Holland Komlo2017-11-112-1/+14
* slight improvement to rust idiomicityNick Mathewson2017-11-091-6/+1
* Rust implementation of protocol_list_supports_protocol_or_later()Nick Mathewson2017-11-092-0/+80
* [rust] Avoid a clone in contract_protocol_list()Nick Mathewson2017-10-271-2/+3
* Add missing copyright/license statements on all .rs filesNick Mathewson2017-10-273-0/+9
* cargo fmt; fix line length warningsChelsea Holland Komlo2017-10-273-15/+16