mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 19:41:15 -03:00
Update rust-embed
This commit is contained in:
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -768,9 +768,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rust-embed"
|
||||
version = "8.9.0"
|
||||
version = "8.11.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "947d7f3fad52b283d261c4c99a084937e2fe492248cb9a68a8435a861b8798ca"
|
||||
checksum = "04113cb9355a377d83f06ef1f0a45b8ab8cd7d8b1288160717d66df5c7988d27"
|
||||
dependencies = [
|
||||
"rust-embed-impl",
|
||||
"rust-embed-utils",
|
||||
|
||||
@@ -58,7 +58,7 @@ rand = { version = "0.9.2", default-features = false, features = [
|
||||
"thread_rng",
|
||||
] }
|
||||
rsconf = "0.3.0"
|
||||
rust-embed = { version = "8.9.0", features = [
|
||||
rust-embed = { version = "8.11.0", features = [
|
||||
"deterministic-timestamps",
|
||||
"include-exclude",
|
||||
"interpolate-folder-path",
|
||||
|
||||
@@ -308,16 +308,8 @@ impl RustEmbed for EmptyEmbed {
|
||||
fn get(_file_path: &str) -> Option<rust_embed::EmbeddedFile> {
|
||||
None
|
||||
}
|
||||
fn iter() -> rust_embed::Filenames {
|
||||
use rust_embed::Filenames::*;
|
||||
cfg_if! {
|
||||
// TODO This is a clone of rebuild_if_embedded_path_changed.
|
||||
if #[cfg(any(not(debug_assertions), windows))] {
|
||||
Embedded([].iter())
|
||||
} else {
|
||||
Dynamic(Box::new(None.into_iter()))
|
||||
}
|
||||
}
|
||||
fn iter() -> impl Iterator<Item = std::borrow::Cow<'static, str>> {
|
||||
std::iter::empty()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user