Skip to content

Commit

Permalink
fix broken echo example
Browse files Browse the repository at this point in the history
  • Loading branch information
willemolding committed Apr 10, 2024
1 parent 347a8e7 commit 44853fa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tower-cartesi/examples/echo.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
use futures_util::FutureExt;
use std::env;
use std::error::Error;
use std::future::Future;
use std::pin::Pin;
use std::task::{Context, Poll};
use futures_util::FutureExt;

use tower_cartesi::{listen_http, Request, Response};
use tower_service::{BoxError, Service};
use tower_service::Service;

type BoxError = Box<dyn Error + Send + Sync>;

#[tokio::main]
async fn main() -> Result<(), BoxError> {
Expand Down

0 comments on commit 44853fa

Please sign in to comment.