Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/futures-rs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.3.7
Choose a base ref
...
head repository: rust-lang/futures-rs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.3.8
Choose a head ref
  • 11 commits
  • 151 files changed
  • 4 contributors

Commits on Oct 26, 2020

  1. Add WeakShared.

    This makes implementing a cache with futures much easier. With the current architecture a cache that uses Shareds cannot honor the "drop as cancellation" feature of futures. And the cache is forced to either poll futures itself to ensure they're polled to completion or to leave half-polled futures dangling inside it (potentially consuming resources like sockets or database connections). WeakShared is to Shared as Weak is to Arc. If any copy of the underlying Shared exists that has not be dropped or polled to completion the WeakShared can be upgraded to it. This makes it possible to construct a cache that does not entrain futures, thus honoring the "drop as cancellation" feature.
    khuey authored and taiki-e committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    8bb7fd9 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2020

  1. Configuration menu
    Copy the full SHA
    4122f3d View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2020

  1. Configuration menu
    Copy the full SHA
    e363f18 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    310fd0d View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2020

  1. Configuration menu
    Copy the full SHA
    7667251 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2020

  1. Configuration menu
    Copy the full SHA
    90b4a8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1fa794a View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2020

  1. Configuration menu
    Copy the full SHA
    a570781 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2020

  1. Use HTTPS (#2258)

    atouchet authored Nov 7, 2020
    Configuration menu
    Copy the full SHA
    f521ecc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed0c997 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2020

  1. Release 0.3.8

    taiki-e committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    bde29da View commit details
    Browse the repository at this point in the history
Loading