From 72c0ecc21f571bba38c889c57be0ba53aa72c015 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Mon, 29 Mar 2021 18:55:08 -0600 Subject: implement crates.io --- repos/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'repos/__init__.py') diff --git a/repos/__init__.py b/repos/__init__.py index ab6aa76..7023071 100644 --- a/repos/__init__.py +++ b/repos/__init__.py @@ -1,6 +1,6 @@ from typing import Mapping, List -from . import alpine_linux, arch_linux +from . import alpine_linux, arch_linux, crates_io from .base import Repository, Version __all__ = [ @@ -16,6 +16,7 @@ def repos_from(module): all_repos: List[Repository] = [ *repos_from(alpine_linux), *repos_from(arch_linux), + *repos_from(crates_io), ] def get_versions(package: str) -> Mapping[str, Version]: -- cgit v1.2.3