Skip to content

Commit

Permalink
revert more
Browse files Browse the repository at this point in the history
  • Loading branch information
nacardin committed Jul 10, 2024
1 parent d64542c commit da81d6d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ subscriber = [
]
fixture = ["subscriber", "task", "fluvio-future-derive"]
task_unstable = ["task", "async-std/unstable"]
io = ["async-io"]
io = ["async-std/default"]
sync = ["async-std/default"]
future = ["async-io", "pin-project"]
future = ["async-std/default"]
net = [
"futures-lite",
"async-net",
Expand Down
3 changes: 2 additions & 1 deletion src/io.rs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pub use async_io::*;
pub use async_std::io::*;
pub use async_std::prelude::*;
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ pub mod subscriber {
#[cfg(not(target_arch = "wasm32"))]
pub mod doomsday;

// #[cfg(feature = "attributes")]
// pub use fluvio_future_derive::main_async;
#[cfg(feature = "attributes")]
pub use fluvio_future_derive::main_async;

/// re-export tracing
pub mod tracing {
Expand Down
2 changes: 1 addition & 1 deletion src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ where

/// run future and wait forever
/// this is typically used in the server
pub fn main<F>(spawn_closure: F)
pub fn main_forever<F>(spawn_closure: F)
where
F: Future<Output = ()> + Send + 'static,
{
Expand Down

0 comments on commit da81d6d

Please sign in to comment.