From b251533a5ce49d316dc38f1d6a79cf45e47f9874 Mon Sep 17 00:00:00 2001 From: konstin Date: Tue, 29 Oct 2024 11:20:35 +0100 Subject: [PATCH] Reexport pep440_rs Fixes #19 --- Cargo.lock | 18 +++++++++--------- Cargo.toml | 2 +- Changelog.md | 4 ++++ src/lib.rs | 3 +++ 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9f06091..0f9377c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -111,7 +111,7 @@ dependencies = [ [[package]] name = "pep508_rs" -version = "0.8.0" +version = "0.8.1" dependencies = [ "indoc", "once_cell", @@ -135,9 +135,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pin-project-lite" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" +checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff" [[package]] name = "proc-macro2" @@ -159,9 +159,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.11.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8" +checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" dependencies = [ "aho-corasick", "memchr", @@ -209,18 +209,18 @@ checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "serde" -version = "1.0.213" +version = "1.0.214" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ea7893ff5e2466df8d720bb615088341b295f849602c6956047f8f80f0e9bc1" +checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.213" +version = "1.0.214" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e85ad2009c50b58e87caa8cd6dac16bdf511bbfb7af6c33df902396aa480fa5" +checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 016258b..73e8bb2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pep508_rs" -version = "0.8.0" +version = "0.8.1" description = "A library for python dependency specifiers, better known as PEP 508" edition = "2021" include = ["/src", "Changelog.md", "License-Apache", "License-BSD", "Readme.md", "pyproject.toml"] diff --git a/Changelog.md b/Changelog.md index 72a56a6..e393ad2 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,7 @@ +# 0.8.1 + +- Reexport pep440_rs + # 0.8.0 - Remove rkyv feature diff --git a/src/lib.rs b/src/lib.rs index ebe8056..e5c122d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -32,6 +32,9 @@ pub use marker::{ MarkerValueString, MarkerValueVersion, MarkerWarningKind, StringVersion, }; pub use normalize::{ExtraName, InvalidNameError, PackageName}; +/// Version and version specifiers used in requirements (reexport). +// https://github.com/konstin/pep508_rs/issues/19 +pub use pep440_rs; pub use verbatim_url::{split_scheme, VerbatimUrl}; mod marker;