Update predicates-tree to 1.0.11
Test: m
Change-Id: I31399987fec5dcaee631210170bea209bf9b21f4
diff --git a/crates/predicates-tree/.android-checksum.json b/crates/predicates-tree/.android-checksum.json
index fdcfd04..b44121d 100644
--- a/crates/predicates-tree/.android-checksum.json
+++ b/crates/predicates-tree/.android-checksum.json
@@ -1 +1 @@
-{"package":null,"files":{".cargo-checksum.json":"c15dd2517a91f8f063f015d933cde6285cb836546e0a516252a83af8606228a3","Android.bp":"163fc823a964b9e73afc5cea22420fd8464284382521f66e22f053302fc0325b","Cargo.lock":"793b1124375429034af7b57b58e014050f4ce848fac323d92c7fde8c5cbe363d","Cargo.toml":"b65774d511b288868769cec29cf70e6b05ad92cd3d0f9d81c97f04e224caac5c","LICENSE":"6a823c8069932f07af9f6632e29978de3af2c0d5ea8e71afc621547fb91edc29","LICENSE-APACHE":"6a823c8069932f07af9f6632e29978de3af2c0d5ea8e71afc621547fb91edc29","LICENSE-MIT":"b1d654eef14f674c63e128eacab0111ff6e9defc751341f764957f7947a25a7a","METADATA":"e7083346ada68cff7b0bc42c2716174954278baffd2330dded67ffc1f1a9b565","MODULE_LICENSE_APACHE2":"0d6f8afa3940b7f06bebee651376d43bc8b0d5b437337be2696d30377451e93a","README.md":"7b68e5c060fa7645281c4bf84bbf64e4605ce9de72966afeb9fb5877d143ca97","cargo_embargo.json":"48b90df621dbf12710f97f8c66bbe1682f5d0a9d4925ec8652ba6c52a7359ce5","examples/failures.rs":"8297001cf523bc4777695b6247cd50d42e7c7c2cc25574d630b56f54cba58374","src/lib.rs":"a999409271bfbde024e1f0e0b88130b295ebe5689e5c7b0ecef8d701825ba6c6"}}
\ No newline at end of file
+{"package":null,"files":{".cargo-checksum.json":"25dd3eb062b51cb6370332d71e2df8d6a1a85b3e2c5513d7d779dffc7cfb37f5","Android.bp":"84b5453b4096fa6d39a4a61a792ff5291494597c7f5107fb2f792391b27d24fd","Cargo.lock":"3dd28acf1ea9c6479bddef55c5ab7122a9246e13dc01da707f29a95c160838a8","Cargo.toml":"44e986d52267931eab5b2794a047c7d8f78f5717fe6514289cd789e45c827780","LICENSE":"90364369fcd32608226545dbeeff4401827c7305eabe4a022046cc03d078c9e9","LICENSE-APACHE":"90364369fcd32608226545dbeeff4401827c7305eabe4a022046cc03d078c9e9","LICENSE-MIT":"538f704e6bc384de6dd775d81e9df89f9d718f0e2808a24a789eaa03beb129d3","METADATA":"c51bf0323a728cd6eadea4eef5530fa055e2325ee361d695907f5fecee085001","MODULE_LICENSE_APACHE2":"0d6f8afa3940b7f06bebee651376d43bc8b0d5b437337be2696d30377451e93a","README.md":"7b68e5c060fa7645281c4bf84bbf64e4605ce9de72966afeb9fb5877d143ca97","cargo_embargo.json":"48b90df621dbf12710f97f8c66bbe1682f5d0a9d4925ec8652ba6c52a7359ce5","examples/failures.rs":"8297001cf523bc4777695b6247cd50d42e7c7c2cc25574d630b56f54cba58374","src/lib.rs":"b2c8586280d84ff534a0cf66e59fd8b13ad0986e2794dcb319c56eefc20edc70"}}
\ No newline at end of file
diff --git a/crates/predicates-tree/.cargo-checksum.json b/crates/predicates-tree/.cargo-checksum.json
index 58007c6..2f1f3cb 100644
--- a/crates/predicates-tree/.cargo-checksum.json
+++ b/crates/predicates-tree/.cargo-checksum.json
@@ -1 +1 @@
-{"files":{"Cargo.lock":"00e7615c11a29d07b20354e6c2bbed48a24d226fa137bf3a6953f631b04ccafe","Cargo.toml":"b52f695e84927ad9887c19b0dc5b9a567d3ed28193fd68d682f207c3ccafbdac","LICENSE-APACHE":"a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9","LICENSE-MIT":"9d6bf646112f22f1dd5722fbf615ac184bc372727b615e5dff7e45fe8de3a99e","README.md":"2e96471579f50e44834a5e58f1f16466c0395661873754ac5b8b342ecd157786","examples/failures.rs":"e5c9bafb7649d2b8aad4b585c28385cfc2d55e32aa190da693c920fc61945275","src/lib.rs":"b784e62fc9cd370ce29955e3cbc35ba1456efa0324fb49c0cf705969f691b4ba"},"package":"368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf"}
\ No newline at end of file
+{"files":{"Cargo.lock":"f82051c33a7cd8242f458b112faf17e51f4c8e25d7c300092abe630840c6e1d2","Cargo.toml":"6595246d690ca3b947a848aa806366145be709811ed3ae1c467ee006a17c3455","LICENSE-APACHE":"b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1","LICENSE-MIT":"6efb0476a1cc085077ed49357026d8c173bf33017278ef440f222fb9cbcb66e6","README.md":"2e96471579f50e44834a5e58f1f16466c0395661873754ac5b8b342ecd157786","examples/failures.rs":"e5c9bafb7649d2b8aad4b585c28385cfc2d55e32aa190da693c920fc61945275","src/lib.rs":"d92dc9f3a6aebe337e152ee535dd034df0d373a50968af914aeb47a0816530e9"},"package":"41b740d195ed3166cd147c8047ec98db0e22ec019eb8eeb76d343b795304fb13"}
\ No newline at end of file
diff --git a/crates/predicates-tree/Android.bp b/crates/predicates-tree/Android.bp
index 5b11105..2e78628 100644
--- a/crates/predicates-tree/Android.bp
+++ b/crates/predicates-tree/Android.bp
@@ -18,7 +18,7 @@
host_supported: true,
crate_name: "predicates_tree",
cargo_env_compat: true,
- cargo_pkg_version: "1.0.9",
+ cargo_pkg_version: "1.0.11",
crate_root: "src/lib.rs",
edition: "2021",
rustlibs: [
diff --git a/crates/predicates-tree/Cargo.lock b/crates/predicates-tree/Cargo.lock
index 2bae5b1..3ec9853 100644
--- a/crates/predicates-tree/Cargo.lock
+++ b/crates/predicates-tree/Cargo.lock
@@ -4,18 +4,18 @@
[[package]]
name = "aho-corasick"
-version = "0.7.19"
+version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e"
+checksum = "6748e8def348ed4d14996fa801f4122cd763fff530258cdc03f64b25f89d3a5a"
dependencies = [
"memchr",
]
[[package]]
name = "anstyle"
-version = "0.3.1"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "80c697cc33851b02ab0c26b2e8a211684fbe627ff1cc506131f35026dd7686dd"
+checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd"
[[package]]
name = "autocfg"
@@ -30,12 +30,6 @@
checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8"
[[package]]
-name = "either"
-version = "1.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
-
-[[package]]
name = "float-cmp"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -45,15 +39,6 @@
]
[[package]]
-name = "itertools"
-version = "0.10.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
-dependencies = [
- "either",
-]
-
-[[package]]
name = "memchr"
version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -67,23 +52,22 @@
[[package]]
name = "num-traits"
-version = "0.2.15"
+version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
+checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2"
dependencies = [
"autocfg",
]
[[package]]
name = "predicates"
-version = "3.0.1"
+version = "3.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ba7d6ead3e3966038f68caa9fc1f860185d95a793180bbcfe0d0da47b3961ed"
+checksum = "68b87bfd4605926cdfefc1c3b5f8fe560e3feca9d5552cf68c466d3d8236c7e8"
dependencies = [
"anstyle",
"difflib",
"float-cmp",
- "itertools",
"normalize-line-endings",
"predicates-core",
"regex",
@@ -91,13 +75,13 @@
[[package]]
name = "predicates-core"
-version = "1.0.6"
+version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174"
+checksum = "ae8177bee8e75d6846599c6b9ff679ed51e882816914eec639944d7c9aa11931"
[[package]]
name = "predicates-tree"
-version = "1.0.9"
+version = "1.0.11"
dependencies = [
"predicates",
"predicates-core",
@@ -106,9 +90,21 @@
[[package]]
name = "regex"
-version = "1.6.0"
+version = "1.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b"
+checksum = "81bc1d4caf89fac26a70747fe603c130093b53c773888797a6329091246d651a"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-automata",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-automata"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fed1ceff11a1dddaee50c9dc8e4938bd106e9d89ae372f192311e7da498e3b69"
dependencies = [
"aho-corasick",
"memchr",
@@ -117,9 +113,9 @@
[[package]]
name = "regex-syntax"
-version = "0.6.27"
+version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
+checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2"
[[package]]
name = "termtree"
diff --git a/crates/predicates-tree/Cargo.toml b/crates/predicates-tree/Cargo.toml
index 4716753..a2ea4c7 100644
--- a/crates/predicates-tree/Cargo.toml
+++ b/crates/predicates-tree/Cargo.toml
@@ -11,10 +11,11 @@
[package]
edition = "2021"
-rust-version = "1.64.0"
+rust-version = "1.74"
name = "predicates-tree"
-version = "1.0.9"
+version = "1.0.11"
authors = ["Nick Stevens <[email protected]>"]
+build = false
include = [
"build.rs",
"src/**/*",
@@ -24,6 +25,10 @@
"benches/**/*",
"examples/**/*",
]
+autobins = false
+autoexamples = false
+autotests = false
+autobenches = false
description = "Render boolean-valued predicate functions results as a tree."
homepage = "https://github.com/assert-rs/predicates-rs/tree/master/crates/tree"
documentation = "https://docs.rs/predicates-tree"
@@ -42,40 +47,55 @@
license = "MIT OR Apache-2.0"
repository = "https://github.com/assert-rs/predicates-rs/tree/master/crates/tree"
+[package.metadata.docs.rs]
+all-features = true
+rustdoc-args = [
+ "--cfg",
+ "docsrs",
+]
+
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
-search = "Unreleased"
+min = 1
replace = "{{version}}"
-min = 1
+search = "Unreleased"
[[package.metadata.release.pre-release-replacements]]
-file = "CHANGELOG.md"
-search = '\.\.\.HEAD'
-replace = "...{{tag_name}}"
exactly = 1
+file = "CHANGELOG.md"
+replace = "...{{tag_name}}"
+search = '\.\.\.HEAD'
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
-search = "ReleaseDate"
-replace = "{{date}}"
min = 1
+replace = "{{date}}"
+search = "ReleaseDate"
[[package.metadata.release.pre-release-replacements]]
+exactly = 1
file = "CHANGELOG.md"
-search = "<!-- next-header -->"
replace = """
<!-- next-header -->
## [Unreleased] - ReleaseDate
"""
-exactly = 1
+search = "<!-- next-header -->"
[[package.metadata.release.pre-release-replacements]]
+exactly = 1
file = "CHANGELOG.md"
-search = "<!-- next-url -->"
replace = """
<!-- next-url -->
[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/{{tag_name}}...HEAD"""
-exactly = 1
+search = "<!-- next-url -->"
+
+[lib]
+name = "predicates_tree"
+path = "src/lib.rs"
+
+[[example]]
+name = "failures"
+path = "examples/failures.rs"
[dependencies.predicates-core]
version = "1.0"
@@ -84,5 +104,5 @@
version = "0.4.1"
[dev-dependencies.predicates]
-version = "3.0"
+version = "3.1"
features = ["color"]
diff --git a/crates/predicates-tree/LICENSE-APACHE b/crates/predicates-tree/LICENSE-APACHE
index d9a10c0..8dada3e 100644
--- a/crates/predicates-tree/LICENSE-APACHE
+++ b/crates/predicates-tree/LICENSE-APACHE
@@ -174,3 +174,28 @@
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "{}"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright {yyyy} {name of copyright owner}
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/crates/predicates-tree/LICENSE-MIT b/crates/predicates-tree/LICENSE-MIT
index 51e7743..a2d0108 100644
--- a/crates/predicates-tree/LICENSE-MIT
+++ b/crates/predicates-tree/LICENSE-MIT
@@ -1,7 +1,4 @@
-MIT License
-
-Copyright (c) 2017 Nick Stevens
-
+Copyright (c) Individual contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/crates/predicates-tree/METADATA b/crates/predicates-tree/METADATA
index 195961f..6b2e993 100644
--- a/crates/predicates-tree/METADATA
+++ b/crates/predicates-tree/METADATA
@@ -1,17 +1,17 @@
name: "predicates-tree"
description: "Render boolean-valued predicate functions results as a tree."
third_party {
- version: "1.0.9"
+ version: "1.0.11"
license_type: NOTICE
last_upgrade_date {
- year: 2023
- month: 11
- day: 6
+ year: 2025
+ month: 1
+ day: 14
}
homepage: "https://crates.io/crates/predicates-tree"
identifier {
type: "Archive"
- value: "https://static.crates.io/crates/predicates-tree/predicates-tree-1.0.9.crate"
- version: "1.0.9"
+ value: "https://static.crates.io/crates/predicates-tree/predicates-tree-1.0.11.crate"
+ version: "1.0.11"
}
}
diff --git a/crates/predicates-tree/src/lib.rs b/crates/predicates-tree/src/lib.rs
index f0d2fd5..9e5e132 100644
--- a/crates/predicates-tree/src/lib.rs
+++ b/crates/predicates-tree/src/lib.rs
@@ -8,6 +8,8 @@
//! Render `Case` as a tree.
+#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+
use std::fmt;
use predicates_core::reflection;
diff --git a/pseudo_crate/Cargo.lock b/pseudo_crate/Cargo.lock
index f3d7a7c..669e3e3 100644
--- a/pseudo_crate/Cargo.lock
+++ b/pseudo_crate/Cargo.lock
@@ -4065,9 +4065,9 @@
[[package]]
name = "predicates-tree"
-version = "1.0.9"
+version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf"
+checksum = "41b740d195ed3166cd147c8047ec98db0e22ec019eb8eeb76d343b795304fb13"
dependencies = [
"predicates-core",
"termtree",
diff --git a/pseudo_crate/Cargo.toml b/pseudo_crate/Cargo.toml
index 7a9a033..703ec20 100644
--- a/pseudo_crate/Cargo.toml
+++ b/pseudo_crate/Cargo.toml
@@ -252,7 +252,7 @@
ppv-lite86 = "=0.2.17"
predicates = "=3.0.4"
predicates-core = "=1.0.9"
-predicates-tree = "=1.0.9"
+predicates-tree = "=1.0.11"
prettyplease = "=0.2.25"
proc-macro2 = "=1.0.92"
protobuf = "=3.2.0"