Skip to content

Cleanup Cargo.tomls and licenses (master branch) #394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

baylesj
Copy link

@baylesj baylesj commented Jul 1, 2025

This patch makes it so that the MPl-2.0 license is bundled with each crate (as is best practice for license files). However, cargo does NOT currently have a better solution than copying the license to each crate's folder (see discussion here:
rust-lang/cargo#13328), so this patch copies the LICENSE file to each crate's folder.

This patch also consolidates a lot of the package metadata into the root Cargo.toml.

resolves #391

This patch makes it so that the MPl-2.0 license is bundled with
each crate (as is best practice for license files). However, cargo
does NOT currently have a better solution than copying the license
to each crate's folder (see discussion here:
rust-lang/cargo#13328), so this patch
copies the LICENSE file to each crate's folder.

This patch also consolidates a lot of the package metadata into the
root Cargo.toml.
@baylesj baylesj changed the title Cleanup Cargo.tomls and licenses Cleanup Cargo.tomls and licenses (master branch) Jul 3, 2025
categories = ["multimedia", "multimedia::audio", "multimedia::encoding"]
keywords = ["audio", "codec", "decoder", "multimedia", "media"]
edition = "2018"
rust-version = "1.53"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI to my knowledge the workspace.package syntax required Rust version 1.64 or higher according to The Cargo Book: Workspaces

Copy link
Owner

@pdeljanov pdeljanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned by @hasezoey in the comments, the workspace syntax is only supported on Rust 1.64+ and the MSRV for the 0.5.x series is 1.53. Since we consider increasing the MSRV a semver-breaking change, we cannot use that syntax in master at this time. Therefore, I think this PR can only add the LICENSE files to each crate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include LICENSE files in the published symphonia-* crates
3 participants