Skip to content

Parse URLs fully (in cargo) #2661

Closed
Closed

Description

@graydon

We should just have a URL library in std. It's a normal function these days.

Activity

  1. brson commented on Aug 1, 2012

    @brson
    Contributor

    What does fully parsing urls in cargo entail? Where are we not doing so?

  2. reopened this on Aug 1, 2012
  3. graydon commented on Aug 9, 2012

    @graydon
    ContributorAuthor

    std::net_url is fine as far as the stdlib part goes; it's just that in cargo.rs we have some kinda ad-hoc string scanning (has_archive_extension, is_archive_url, is_git_url, assume_source_method) that should probably delegate to std::net_url.

  4. z0w0 commented on Mar 8, 2013

    @z0w0
    Contributor

    Closing because Cargo is obsolete as of version 0.6. Rustpkg makes use of both std::net_url for bare URLs and paths for custom sources (not sure what they're called yet).

  5. added a commit that references this issue on Jun 29, 2023
  6. added a commit that references this issue on Dec 5, 2025
  7. added a commit that references this issue on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementE-easy

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions