Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: move pub use reqwest #142

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ use error::Result;
pub use local::LocalAsset;
#[cfg(feature = "remote")]
pub use remote::RemoteAsset;
// Simplifies raw access to reqwest without depending on a separate copy
#[cfg(feature = "remote")]
pub use reqwest;
#[cfg(feature = "json-serde")]
pub use serde_json;
pub use source::SourceFile;
Expand Down
3 changes: 0 additions & 3 deletions src/remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ use std::path::{Path, PathBuf};

use camino::{Utf8Path, Utf8PathBuf};

// Simplifies raw access to reqwest without depending on a separate copy
pub use reqwest;

use crate::error::*;

/// A remote asset is an asset that is fetched over the network.
Expand Down
Loading