├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── README.md ├── eff-attr ├── Cargo.toml └── src │ └── lib.rs ├── examples ├── print.rs ├── sum_input_line.rs └── wc.rs ├── rust-toolchain ├── src ├── context.rs ├── coproduct.rs ├── either.rs ├── embed.rs ├── futures_compat.rs ├── futures_compat │ ├── future.rs │ └── stream.rs ├── generator.rs ├── handled.rs ├── lazy.rs ├── lib.rs ├── next_event.rs └── poll_fn.rs └── tests ├── attr.rs ├── conv.rs ├── example.rs ├── frank_pipe.rs ├── frank_state.rs ├── frank_tee.rs ├── future.rs ├── logging.rs ├── multithread.rs ├── perform_from.rs ├── rest_parameter.rs ├── simple.rs ├── state.rs ├── sum_input_line.rs └── timer.rs /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/README.md -------------------------------------------------------------------------------- /eff-attr/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/eff-attr/Cargo.toml -------------------------------------------------------------------------------- /eff-attr/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/eff-attr/src/lib.rs -------------------------------------------------------------------------------- /examples/print.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/examples/print.rs -------------------------------------------------------------------------------- /examples/sum_input_line.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/examples/sum_input_line.rs -------------------------------------------------------------------------------- /examples/wc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/examples/wc.rs -------------------------------------------------------------------------------- /rust-toolchain: -------------------------------------------------------------------------------- 1 | nightly 2 | -------------------------------------------------------------------------------- /src/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/src/context.rs -------------------------------------------------------------------------------- /src/coproduct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/src/coproduct.rs -------------------------------------------------------------------------------- /src/either.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/src/either.rs -------------------------------------------------------------------------------- /src/embed.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/src/embed.rs -------------------------------------------------------------------------------- /src/futures_compat.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/src/futures_compat.rs -------------------------------------------------------------------------------- /src/futures_compat/future.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/src/futures_compat/future.rs -------------------------------------------------------------------------------- /src/futures_compat/stream.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/src/futures_compat/stream.rs -------------------------------------------------------------------------------- /src/generator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/src/generator.rs -------------------------------------------------------------------------------- /src/handled.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/src/handled.rs -------------------------------------------------------------------------------- /src/lazy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/src/lazy.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/next_event.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/src/next_event.rs -------------------------------------------------------------------------------- /src/poll_fn.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/src/poll_fn.rs -------------------------------------------------------------------------------- /tests/attr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/attr.rs -------------------------------------------------------------------------------- /tests/conv.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/conv.rs -------------------------------------------------------------------------------- /tests/example.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/example.rs -------------------------------------------------------------------------------- /tests/frank_pipe.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/frank_pipe.rs -------------------------------------------------------------------------------- /tests/frank_state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/frank_state.rs -------------------------------------------------------------------------------- /tests/frank_tee.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/frank_tee.rs -------------------------------------------------------------------------------- /tests/future.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/future.rs -------------------------------------------------------------------------------- /tests/logging.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/logging.rs -------------------------------------------------------------------------------- /tests/multithread.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/multithread.rs -------------------------------------------------------------------------------- /tests/perform_from.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/perform_from.rs -------------------------------------------------------------------------------- /tests/rest_parameter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/rest_parameter.rs -------------------------------------------------------------------------------- /tests/simple.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/simple.rs -------------------------------------------------------------------------------- /tests/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/state.rs -------------------------------------------------------------------------------- /tests/sum_input_line.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/sum_input_line.rs -------------------------------------------------------------------------------- /tests/timer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pandaman64/effective-rust/HEAD/tests/timer.rs --------------------------------------------------------------------------------