Skip to content

Commit

Permalink
tokio_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
altunenes committed Aug 28, 2023
1 parent 9f11248 commit c88d791
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/from_user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Bu örnekte, bir kullanıcının sayfasından girdileri nasıl alacağınız gösterilmiştir. Sadece kullanıcı adını girmeniz yeterli.

use rustysozluk::fetch_user;
use rustysozluk::tokio;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ pub use http_client::fetch_page;
pub use parser::{fetch_user, fetch_title};
pub use exporter::export_to_csv;
pub use exporter::export_to_json;
pub use tokio;

0 comments on commit c88d791

Please sign in to comment.