Isis Lovecruft
|
cd28b4c7f5
rust: Refactor protover::compute_for_old_tor().
|
7 years ago |
Isis Lovecruft
|
493e565226
rust: Refactor protover tests with new methods; note altered behaviours.
|
7 years ago |
Isis Lovecruft
|
35b86a12e6
rust: Refactor protover::is_supported_here().
|
7 years ago |
Isis Lovecruft
|
2eb1b7f2fd
rust: Add new ProtoverVote type and refactor functions to methods.
|
7 years ago |
Isis Lovecruft
|
fa15ea104d
rust: Add macro for `impl ToString for {Unvalidated}ProtoEntry`.
|
7 years ago |
Isis Lovecruft
|
3c47d31e1f
rust: Add new protover::UnvalidatedProtoEntry type.
|
7 years ago |
Isis Lovecruft
|
54c964332b
rust: Add new protover::ProtoEntry type which uses new datatypes.
|
7 years ago |
Isis Lovecruft
|
60daaa68b1
rust: Add new protover::UnknownProtocol type.
|
7 years ago |
Isis Lovecruft
|
e6625113c9
rust: Implement more memory-efficient protover datatype.
|
7 years ago |
Isis Lovecruft
|
88204f91df
rust: Implement error types for Rust protover implementation.
|
7 years ago |
Nick Mathewson
|
5af03c1ef3
rust protover: match the C implementation on empty-str cases
|
7 years ago |
Nick Mathewson
|
b58a2febe3
Forbid u32::MAX as a protover range element in rust
|
7 years ago |
Nick Mathewson
|
f69510ba4b
Rust protover compat: forbid more than MAX_VERSIONS_TO_EXPAND in a range
|
7 years ago |
Isis Lovecruft
|
45c59eff6c
rust: Replace two `unwrap()`s in FFI code with `unwrap_or()`s.
|
7 years ago |
Nick Mathewson
|
d9826b0a30
Merge remote-tracking branch 'frewsxcv/frewsxcv-protover'
|
7 years ago |
Nick Mathewson
|
af049657eb
Stop claiming that compute_for_old_tor() returns pairs
|
7 years ago |
Nick Mathewson
|
d8307cb0e9
Remove new unsafe {} use.
|
7 years ago |
Isis Lovecruft
|
b85436c596
protover: Fix memleak in Rust impl of protover_compute_for_old_tor.
|
7 years ago |
Isis Lovecruft
|
7ea9e080c5
protover: Fix memleak in Rust implementation.
|
7 years ago |
teor
|
b67f010678
Add Link protocol version 5 to the supported protocols list in protover.rs
|
7 years ago |
Corey Farwell
|
124caf28e6
Wrap types in protover.rs.
|
7 years ago |
Corey Farwell
|
2529319f68
[fixup] this might be an improvement?
|
7 years ago |
Corey Farwell
|
8ba5805bae
Remove unneeded heap allocations in protover.rs.
|
7 years ago |
Chelsea Holland Komlo
|
1c50331b9a
annotate where C and Rust need to stay in sync
|
8 years ago |
Nick Mathewson
|
039a776367
slight improvement to rust idiomicity
|
8 years ago |
Nick Mathewson
|
c80bb04542
Rust implementation of protocol_list_supports_protocol_or_later()
|
8 years ago |
Nick Mathewson
|
69502942b0
[rust] Avoid a clone in contract_protocol_list()
|
8 years ago |
Nick Mathewson
|
2ca8fcb892
Add missing copyright/license statements on all .rs files
|
8 years ago |
Chelsea Holland Komlo
|
6be75bd61d
cargo fmt; fix line length warnings
|
8 years ago |
Chelsea Holland Komlo
|
90daad999e
remove experimental rust features
|
8 years ago |