Skip to content

Commit

Permalink
Make license and license_files public again
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Oct 28, 2024
1 parent 33bec76 commit 1a2dbe5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.13.3

* Make `license` and `license_files` public again

## 0.13.2

* Make `Contact` definition strict
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<License>,
pub license: Option<License>,
/// The paths to files containing licenses and other legal notices to be distributed with the
/// project.
///
Expand All @@ -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<Vec<String>>,
pub license_files: Option<Vec<String>>,
/// The people or organizations considered to be the "authors" of the project
pub authors: Option<Vec<Contact>>,
/// Similar to "authors" in that its exact meaning is open to interpretation
Expand Down

0 comments on commit 1a2dbe5

Please sign in to comment.