You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-brotli/rust2rpm.toml

50 lines
1.8 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

[package]
summary = "Brotli compressor and decompressor with no_std support"
cargo-toml-patch-comments = [
"""\
Adjust license from BSD-3-Clause/MIT to BSD-3-Clause AND MIT; see \
https://github.com/dropbox/rust-brotli/issues/41, \
https://github.com/dropbox/rust-brotli/pull/218 (which was merged \
upstream), and Patch10. See also the similar PR
https://github.com/dropbox/rust-brotli-decompressor/pull/32, which was
merged, but note comments in https://github.com/dropbox/rust-brotli/pull/218: \
we should be attentive to future improvements or corrections to the license \
texts.\
""",
"""\
Exclude files that are only useful for upstream development: \
https://github.com/dropbox/rust-brotli/pull/43\
""",
]
# The brotli binary would conflict with the one provided by the brotli package.
# The catbrotli binary would not, so we *could* install it, but it doesnt seem
# useful enough to bother.
cargo-install-bin = false
[features]
hide = [
# The benchmark feature makes no sense for external users, and would
# require the corresponding feature in the brotli-decompressor crate, which
# in turn would require a test data corpus.
"benchmark",
]
[scripts.prep]
pre = [
"# Remove executable flag from .rs files",
"# https://github.com/dropbox/rust-brotli/pull/181",
"find -type f -name '*.rs' -executable -exec chmod -x '{}' +",
]
[[package.extra-patches]]
number = 10
file = "brotli-6.0.0-license-accuracy.patch"
comments = [
"""\
Adjust license to reflect a MIT-only source, and add a MIT license file \
(https://github.com/dropbox/rust-brotli/pull/218), without the \
changes to Cargo.toml (which are applied manually to the normalized \
Cargo.toml in the crate).\
"""
]