1. 03 Dec, 2019 4 commits
    • Leonora Tindall's avatar
      Polish API and documentation for netmod-mem · f25394b5
      Leonora Tindall authored
      Add ticks() method to get number of ticks on a medium so far
      
      Rename new() to with_latency() to read better in source code
      
      Change tick() to take a &mut reference rather than ownership
      
      Add a lot of documentation
      f25394b5
    • Leonora Tindall's avatar
      Remove unnecessary RwLock in MemMod. · 5860b843
      Leonora Tindall authored
      Since we were already just using .get_mut() anyway, we can drop the
      RwLock entirely and just use a regular reference.
      5860b843
    • Leonora Tindall's avatar
      Split netmod-mem::media into multiple files. · 46ef058d
      Leonora Tindall authored
      This is just a quick reformatting commit, but it will make things much
      easier when adding additional in-memory media.
      46ef058d
    • Leonora Tindall's avatar
      Add `BroadcastMedium` with simulated latency · 8e48c31d
      Leonora Tindall authored
      It is meant to be just one of several simulated media which connect to
      `MemMod`s and provide various levels of simulation. `BroadcastMedium`
      does no switching and cannot simulate frame loss, but does allow
      uniform simulated latency.
      
      It presents an tick-based simulation interface that allows easily
      updating the simulation whenever is appropriate to the calling thread.
      8e48c31d
  2. 14 Nov, 2019 3 commits
  3. 12 Nov, 2019 19 commits
  4. 07 Nov, 2019 6 commits
  5. 29 Oct, 2019 2 commits
    • Katharina Fey's avatar
      Switching to a different docker image provider for beta channel · c0fdb9dc
      Katharina Fey authored
      The official rustlang org doesn't provide beta tags, so this commit
      switches to a third party one. We are pinned to the 1.39-beta, so
      that when the version is released, we can switch back to the official
      stable channel.
      c0fdb9dc
    • Katharina Fey's avatar
      Adding async-std to the libqaul dependencies, requiring Rust 1.39 · c971c269
      Katharina Fey authored
      This commit currently has a dependency on the beta channel and sets up
      async-std as our future provider of an async runtime. It's interfaces
      are pretty close to the stdlib we already use, it will soon work on
      stable and while we won't implement everything as async tasks from the
      beginning (the first messaging patch set uses threads and channels),
      some of the early requirements can't be implemented without async
      timers (namely protocol ticks).
      
      If your code doesn't compile anymore after this commit, make sure
      you're at least using `rustc 1.39.0-beta.7 (23f8f652b 2019-10-26)`,
      which will become stable in less than 2 weeks.
      Signed-off-by: Katharina Fey's avatarKatharina Fey <kookie@spacekookie.de>
      c971c269
  6. 28 Oct, 2019 2 commits
  7. 25 Oct, 2019 4 commits