diff --git a/Cargo.lock b/Cargo.lock index 678b840..895f5c2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -171,7 +171,7 @@ dependencies = [ [[package]] name = "pyproject-toml" -version = "0.13.2" +version = "0.13.3" dependencies = [ "glob", "indexmap", diff --git a/Cargo.toml b/Cargo.toml index 763756a..b816786 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyproject-toml" -version = "0.13.2" +version = "0.13.3" description = "pyproject.toml parser in Rust" edition = "2021" license = "MIT" diff --git a/Changelog.md b/Changelog.md index ed0fdaf..299501a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,9 @@ # Changelog +## 0.13.3 + +* Make `license` and `license_files` public again + ## 0.13.2 * Make `Contact` definition strict diff --git a/src/lib.rs b/src/lib.rs index b58c88e..0a5784f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -52,7 +52,7 @@ pub struct Project { /// The license under which the project is distributed /// /// Supports both the current standard and the provisional PEP 639 - license: Option, + pub license: Option, /// The paths to files containing licenses and other legal notices to be distributed with the /// project. /// @@ -61,7 +61,7 @@ pub struct Project { /// Note that this doesn't check the PEP 639 rules for combining `license_files` and `license`. /// /// From the provisional PEP 639 - license_files: Option>, + pub license_files: Option>, /// The people or organizations considered to be the "authors" of the project pub authors: Option>, /// Similar to "authors" in that its exact meaning is open to interpretation