servo-fetch 0.9.0

Fetch, render, and extract web content with an embedded Servo browser engine. No Chrome required.
Documentation
//! Platform-specific implementations.

#[cfg(target_os = "macos")]
mod macos;

#[cfg(target_os = "macos")]
pub(crate) use macos::StderrFilter;

#[cfg(not(target_os = "macos"))]
pub(crate) struct StderrFilter;

#[cfg(not(target_os = "macos"))]
impl StderrFilter {
    #[expect(clippy::unnecessary_wraps, reason = "signature must match macOS impl")]
    pub(crate) fn install<F>(_: F) -> std::io::Result<Self>
    where
        F: Fn(&str) -> bool + Send + 'static,
    {
        Ok(Self)
    }
}