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.
69 lines
1.6 KiB
69 lines
1.6 KiB
[package]
|
|
cargo-toml-patch-comments = [
|
|
# This would be a candidate for automated patching with tomcli if it were
|
|
# an unconditional dependency, but given it is
|
|
# target.'cfg(not(target_arch = \"wasm32\"))', manual patching is easier.
|
|
"Drop benchmark-only criterion dependency",
|
|
]
|
|
|
|
[[package.extra-patches]]
|
|
number = 10
|
|
file = "icu_collections-1.5.0-no-postcard.patch"
|
|
comments = [
|
|
"""\
|
|
Downstream-only: unconditionally skip compiling tests that would require \
|
|
postcard.\
|
|
"""
|
|
]
|
|
[[package.extra-patches]]
|
|
number = 11
|
|
file = "icu_collections-1.5.0-no-icu-dev-dependency.patch"
|
|
comments = [
|
|
"""\
|
|
Downstream-only: unconditionally skip compiling tests that would require \
|
|
the circular (path-based) dev-dependency on the icu crate.\
|
|
"""
|
|
]
|
|
|
|
[features]
|
|
enable = [
|
|
# Required for tests:
|
|
"databake",
|
|
"serde",
|
|
]
|
|
|
|
[tests]
|
|
comments = [
|
|
"""\
|
|
All doc tests use icu::collections, which would require the circular \
|
|
(path-based) dev-dependency on the icu crate.\
|
|
""",
|
|
"""\
|
|
Tests using databake may fail due to trivial differences in the string \
|
|
representations of generated code, such as trailing commas without semantic \
|
|
significance.\
|
|
""",
|
|
]
|
|
run = [
|
|
"lib",
|
|
"tests",
|
|
]
|
|
skip-exact = true
|
|
skip = [
|
|
"codepointinvlist::cpinvlist::tests::databake",
|
|
"codepointtrie::cptrie::tests::databake",
|
|
]
|
|
|
|
[requires]
|
|
build = [
|
|
"tomcli",
|
|
]
|
|
|
|
[scripts.prep]
|
|
pre = [
|
|
"# Do not depend on postcard; it is needed only for one (skipped) test.",
|
|
"tomcli set Cargo.toml del dev-dependencies.postcard",
|
|
"# Avoid a dependency on the internal icu_benchmark_macros crate",
|
|
"rm -rv examples/",
|
|
]
|