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

[libp2p-dns] Use trust-dns-resolver (with either async-std or tokio). Remove thread pool. #1927

Merged
merged 9 commits into from
Mar 16, 2021

Commits on Jan 15, 2021

  1. [libp2p-dns] Use trust-dns-resolver.

    Use the `trust-dns-resolver` library for DNS resolution,
    thereby removing current use of the thread pool.
    
    Since `trust-dns-resolver` and related crates already
    provide support for both `async-std` and `tokio`, we
    make use of that here in our own feature flags.
    
    Since `trust-dns-resolver` provides many useful
    configuration options and error detail, central
    types of `trust-dns-resolver` like `ResolverConfig`,
    `ResolverOpts` and `ResolveError` are re-exposed
    in the API of `libp2p-dns`. Full encapsulation
    does not seem preferable in this case.
    Roman S. Borschel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    187ec3c View commit details
    Browse the repository at this point in the history
  2. Cleanup

    Roman S. Borschel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    92c715e View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into trust-dns

    Roman S. Borschel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    169d695 View commit details
    Browse the repository at this point in the history
  4. Fix two intra-doc links.

    Roman S. Borschel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    171a3b7 View commit details
    Browse the repository at this point in the history
  5. Simplify slightly.

    Roman S. Borschel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    1b368e4 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2021

  1. Incorporate review feedback.

    Roman S. Borschel committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    37a02b9 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2021

  1. Merge branch 'master' into trust-dns

    Roman S. Borschel committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    cf174ad View commit details
    Browse the repository at this point in the history
  2. Remove git dependency and fix example.

    Roman S. Borschel committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    fc1b0c2 View commit details
    Browse the repository at this point in the history
  3. Update version and changelogs.

    Roman S. Borschel committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    3737c1a View commit details
    Browse the repository at this point in the history