Skip to content

Commit

Permalink
Add back missed cfg after stream revert
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonami committed Dec 23, 2024
1 parent a2aa7a4 commit a3c1f6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/grammers-client/src/client/files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ impl Client {
}

/// Downloads a `Document` to specified path using multiple connections
#[cfg(feature = "fs")]
async fn download_media_concurrent<P: AsRef<Path>>(
&self,
media: &Media,
Expand Down Expand Up @@ -513,6 +514,7 @@ impl Client {
/// ```
///
/// [`InputMessage`]: crate::InputMessage
#[cfg(feature = "fs")]
pub async fn upload_file<P: AsRef<Path>>(&self, path: P) -> Result<Uploaded, io::Error> {
let path = path.as_ref();

Expand Down

0 comments on commit a3c1f6c

Please sign in to comment.