Filter by mime
Some checks failed
CI / Typos (push) Successful in 17s
CI / Build and test (push) Successful in 2m28s
CI / Clippy (push) Failing after 3m59s
CI / Build and test (all features) (push) Successful in 9m40s

This commit is contained in:
2026-03-15 10:20:15 -07:00
parent 32aedb9dc1
commit a2079877fd
30 changed files with 258 additions and 93 deletions

View File

@@ -26,7 +26,10 @@ mod sidecar;
pub use sidecar::*;
use crate::{
extract::{misc::MapExtractor, traits::ObjectExtractor},
extract::{
misc::MapExtractor,
traits::{ExtractState, ObjectExtractor},
},
value::{Item, PileValue},
};
@@ -82,10 +85,11 @@ impl ItemExtractor {
impl ObjectExtractor for ItemExtractor {
async fn field(
&self,
state: &ExtractState,
name: &pile_config::Label,
args: Option<&str>,
) -> Result<Option<PileValue>, std::io::Error> {
self.inner.field(name, args).await
self.inner.field(state, name, args).await
}
#[expect(clippy::unwrap_used)]