|
|
|
[package]
|
|
|
|
cargo-toml-patch-comments = [
|
|
|
|
"""\
|
|
|
|
Where possible, patch out \"support for common crates\" features. Many of \
|
|
|
|
these have satisfiable dependencies and could be packaged if something \
|
|
|
|
specifically requires them. Upstream plans to remove these \
|
|
|
|
crate-integration features in 1.0: \
|
|
|
|
https://github.com/rkyv/rkyv/blob/89a1bc48229ca6ac5ee620964d778293270257d0/rkyv/Cargo.toml#L29-L32\
|
|
|
|
""",
|
|
|
|
"""\
|
|
|
|
Patch out the ui test, which seems to require *all* integrations, even the \
|
|
|
|
patched-out ones\
|
|
|
|
""",
|
|
|
|
]
|
|
|
|
|
|
|
|
[requires]
|
|
|
|
build = [
|
|
|
|
"dos2unix",
|
|
|
|
"tomcli",
|
|
|
|
]
|
|
|
|
|
|
|
|
[scripts.prep]
|
|
|
|
pre = [
|
|
|
|
"# Do not depend on divan; it is needed only for benchmarks.",
|
|
|
|
"tomcli set Cargo.toml del dev-dependencies.divan",
|
|
|
|
"# The crate has a mixture of newline styles.",
|
|
|
|
"# Fixed upstream in:",
|
|
|
|
"# https://github.com/rkyv/rkyv/commit/6b7ab529d32166ec0fc81b7b8828ba71e2c65c38",
|
|
|
|
"find . -type f | xargs -r -t dos2unix --keepdate",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package.extra-patches]]
|
|
|
|
number = 10
|
|
|
|
file = "0001-Fix-generic-SIMD-for-big-endian-targets.patch"
|
|
|
|
comments = [
|
|
|
|
"Fix generic SIMD for big-endian targets: https://github.com/rkyv/rkyv/commit/6d6a5461e42cac18707dfee42b9f41ee7d078866",
|
|
|
|
"Fixes: “Some tests related to hash_map fail on big-endian platforms” https://github.com/rkyv/rkyv/issues/557",
|
|
|
|
"Exported with \"git format-patch --relative\" so that the patch applies to the released crate."
|
|
|
|
]
|