tokio-file-unix 0.6.0

Asynchronous support for epollable files via Tokio on Unix-like platforms
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
set -eux
{
    sleep 0.01
    cat tests/test_input.txt
} | cargo run --example stdin | diff -u tests/test_output.txt -
cargo run --example stdin </dev/null | tail -n +2 | diff -u /dev/null -

cat tests/test_actix_web_input.txt | cargo run --example stdin_actix_web | diff -u tests/test_actix_web_output.txt -
cargo run --example stdin_actix_web </dev/null | tail -n +2 | diff -u /dev/null -

cargo run --example seek
diff -q tests/seek.txt <(echo aaccccAAbbbbbbbb)