tor/src/rust
Isis Lovecruft e6625113c9
rust: Implement more memory-efficient protover datatype.
* ADD new protover::protoset module.
 * ADD new protover::protoset::ProtoSet class for holding protover versions.
 * REMOVE protover::Versions type implementation and its method
   `from_version_string()`, and instead implement this behaviour in a more
   rust-like manner as `impl FromStr for ProtoSet`.
 * MOVE the `find_range()` utility function from protover::protover to
   protover::protoset since it's only used internally in the
   implementation of ProtoSet.
 * REMOVE the `contract_protocol_list()` function from protover::protover and
   instead refactor it (reusing nearly the entire thing, with minor superficial,
   i.e. non-behavioural, changes) into a more rusty
   `impl ToString for ProtoSet`.
 * REMOVE the `expand_version_range()` function from protover::protover and
   instead refactor it into a more rusty implementation of
   `impl Into<Vec<Version>> for ProtoSet` using the new error types in
   protover::errors.
 * FIXES part of #24031: https://bugs.torproject.org/24031.
2018-04-02 19:26:26 +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: Implement more memory-efficient protover datatype. 2018-04-02 19:26:26 +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 maint: Update Rust libc dependency from 0.2.22 to 0.2.39. 2018-03-21 17:04:28 -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 maint: Update Rust libc dependency from 0.2.22 to 0.2.39. 2018-03-21 17:04:28 -04:00
.rustfmt.toml Add rustfmt.toml 2017-05-19 08:47:11 -04:00
Cargo.lock maint: Update Rust libc dependency from 0.2.22 to 0.2.39. 2018-03-21 17:04:28 -04:00
Cargo.toml refactor build infrastructure for single rust binary 2017-10-27 10:02:08 -04:00
include.am Include rust files in 'make dist' 2017-10-27 12:19:31 -04:00