Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistently pass Dispatch as owned value #1051

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Commits on Oct 19, 2020

  1. Pass Dispatch as owned value

    As an alternative to tokio-rs#1045, this PR switches `set_default` and `with_default` to take an owned `Dispatch` instead of a ref.
    
    See [comment here](tokio-rs#1045 (comment)) for motivation.
    
    Closes tokio-rs#455
    Part of tokio-rs#922
    dvdplm committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    c2fa02e View commit details
    Browse the repository at this point in the history
  2. Fix breakage in benchmarks

    dvdplm committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    55096da View commit details
    Browse the repository at this point in the history
  3. obey the fmt

    dvdplm committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    e821be9 View commit details
    Browse the repository at this point in the history
  4. Remove unecessary clone

    dvdplm committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    d7c449e View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2020

  1. Merge remote-tracking branch 'upstream/master' into dp-always-pass-di…

    …spatch-as-owned-tokio-rs#455
    
    * upstream/master: (34 commits)
      subscriber: remove TraceLogger (tokio-rs#1052)
      subscriber: make Registry::enter/exit much faster (tokio-rs#1058)
      chore(deps): update env_logger requirement from 0.7 to 0.8 (tokio-rs#1050)
      chore: fix tracing-macros::dbg (tokio-rs#1054)
      chore(deps): update pin-project requirement from 0.4 to 1.0 (tokio-rs#1038)
      chore: remove duplicated section from tracing/README.md (tokio-rs#1046)
      opentelemetry: prepare for 0.8.0 release (tokio-rs#1036)
      docs: add favicon for extra pretty docs (tokio-rs#1033)
      subscriber: fix `reload` ergonomics (tokio-rs#1035)
      chore(deps): update crossbeam-channel requirement from 0.4.2 to 0.5.0 (tokio-rs#1031)
      opentelemetry: Assign default ids if missing (tokio-rs#1027)
      chore: remove deprecated add-path from CI (tokio-rs#1026)
      attributes:  fix `#[instrument(err)]` in case of early returns (tokio-rs#1006)
      core: remove mandatory liballoc dependency with no-std (tokio-rs#1017)
      chore(deps): update cfg-if requirement from 0.1.10 to 1.0.0 (tokio-rs#1023)
      subscriber: warn if trying to enable a statically disabled level (tokio-rs#990)
      subscriber: use macros for module declarations (tokio-rs#1009)
      chore: remove `stdlib.rs` (tokio-rs#1008)
      core: fix linked list tests reusing `Registration`s (tokio-rs#1016)
      subscriber: support dash in target names (tokio-rs#1012)
      ...
    dvdplm committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    bd22923 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2020

  1. Merge remote-tracking branch 'upstream/master' into dp-always-pass-di…

    …spatch-as-owned-tokio-rs#455
    
    * upstream/master:
      subscriber: update sharded-slab to 0.1, pool hashmap allocations (tokio-rs#1062)
      subscriber: remove deprecated type, structs, and methods tokio-rs#1030
      core: rename Subscriber to Collect (tokio-rs#1015)
      chore: fix rustdoc warning in tracing-subscriber (tokio-rs#1061)
    dvdplm committed Oct 23, 2020
    Configuration menu
    Copy the full SHA
    65a3c2b View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2020

  1. Configuration menu
    Copy the full SHA
    e7360cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11b8db9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61cb51e View commit details
    Browse the repository at this point in the history
  4. Remove subscriber.rs

    dvdplm committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    d955a2b View commit details
    Browse the repository at this point in the history
  5. Forgot one

    dvdplm committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    18a008a View commit details
    Browse the repository at this point in the history
  6. …and the semicolon too.

    dvdplm committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    feb331d View commit details
    Browse the repository at this point in the history
  7. Sprinkle a few drop(dispatch) to signal to clippy that I really mea…

    …nt to clone the Dispatch
    dvdplm committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    2623ecb View commit details
    Browse the repository at this point in the history