wangcundashang
e1006a5be1
refactor: optimize code based on cargo clippy
...
Signed-off-by: wangcundashang <wangcundashang@qq.com>
6 months ago
Friedel Ziegelmayer
b7be2183d5
Merge pull request #1076 from Nereuxofficial/patch-1
...
Updated note about cargo add since it is now integrated in cargo
6 months ago
Nereuxofficial
79c2345e0f
Updated note about cargo add since it is now integrated in cargo
6 months ago
Marc-Antoine Perennou
8947d8e03c
Merge pull request #1069 from Keruspe/update-deps
11 months ago
Jeremiah Senkpiel
02738cad17
Merge pull request #1070 from ChocolateLoverRaj/patch-1
...
Fix typo: at a time instead of at time
12 months ago
Rajas Paranjpe
2e8c579218
Fix typo: at a time instead of at time
1 year ago
Marc-Antoine Perennou
bbde18ffbd
fix CI for recent rustc
...
Allow for unused `pub use` in experimental API which doesn't have its mods public for noiw.
MIPS CI is fully broken (doesn't find the MIPS toolchain) so disable it for now.
Reenable powerpc64 which is no longer broken
1 year ago
Marc-Antoine Perennou
1adaa09626
update async-* dependencies
...
Don't update async-channel as Receiver is now `!Unpin`.
1 year ago
Josh Triplett
8fea050099
Merge pull request #1057 from xxchan/xxchan/scattered-perch
...
update async-* dependencies
1 year ago
xxchan
e393c73339
update async-* dependencies
2 years ago
Josh Triplett
7c95bce535
Merge pull request #1036 from notgull/main
...
Implement I/O-safe traits on types
2 years ago
John Nunley
c17710366b
Update src/fs/file.rs
...
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
2 years ago
jtnunley
dc7bb8e97d
Fix minor issues
2 years ago
jtnunley
27f26ea430
iline docs
2 years ago
jtnunley
c63c43341a
add end-of-file newline
2 years ago
jtnunley
e1d66f53a2
code review
2 years ago
jtnunley
7c408f11dc
add I/O safe traits
2 years ago
Josh Triplett
1855e858e6
Merge pull request #1044 from notgull/timeout_roundup
...
Round up timeout to the nearest millisecond for WASM
2 years ago
Josh Triplett
ef6ebb18ed
Merge pull request #1049 from icedrocket/main
...
Fix GitHub Actions badge
2 years ago
Josh Triplett
707fd53421
Merge pull request #1056 from Enselic/prevent-lock-guard-races
...
Prevent races between dropping File LockGuard and waking its tasks
2 years ago
Martin Nordholts
d22585d7de
Prevent races between dropping File LockGuard and waking its tasks
...
By changing the inner `LockGuard` value to an `Option` and setting it to
`None` in `drop()` so we can drop the `Arc` _before_ waking its tasks.
2 years ago
icedrocket
0e3b11e637
docs: fix github actions badge
2 years ago
jtnunley
fbf1ef6e72
Round up ms timeout
2 years ago
Yosh
bf316b095c
Merge pull request #1035 from Colerar/patch-1
...
normalized badges style
2 years ago
Colerar
4d50499481
normalized badges style
2 years ago
Josh Triplett
798ce31e10
Merge pull request #1031 from kianmeng/fix-typos
...
Fix typos
2 years ago
Josh Triplett
c6b2128ccd
Merge pull request #1030 from joshtriplett/file-eof-should-not-be-permanent
...
Fix file EOF to not be permanent: reading again should give new data
3 years ago
Kian-Meng Ang
fc69db1703
Fix typos
3 years ago
Josh Triplett
dfdf56cc9a
Test that file EOF is not permanent: reading again should give new data
3 years ago
Josh Triplett
64b7791ee5
When read returns EOF, ensure future reads still check the file for EOF
...
Go back to the idle mode when returning EOF, so that the next read will
make another attempt to read from the file in case the file grew.
3 years ago
Yosh
21b72eb20d
Merge pull request #894 from jbr/dont-poll-after-eof-in-io-copy
...
io::copy: don't poll the reader again after eof while waiting for the writer to flush
3 years ago
Josh Triplett
996ff48f6d
Merge pull request #1029 from joshtriplett/seek-ext
...
Export `BufReadExt` and `SeekExt` from `async_std::io`
3 years ago
Josh Triplett
955fa65a64
Fix whitespace errors in a test
3 years ago
Josh Triplett
ba24561146
Export `BufReadExt` and `SeekExt` from `async_std::io`
...
`async_std::io` exports `Read`, `ReadExt`, `Write`, `WriteExt`,
`BufRead`, and `Seek`. But it does not export `BufReadExt` and
`SeekExt`; those only appear in `async_std::io::prelude`.
Export both `BufReadExt` and `SeekExt` from `async_std::io`. This makes
it easier for code not using the prelude to import all of the I/O traits
it uses from the same module.
3 years ago
Josh Triplett
1785b90e6f
CHANGELOG.md: Fix typo
3 years ago
Josh Triplett
1130279831
Merge pull request #1027 from joshtriplett/twelve
...
1.12.0
3 years ago
Josh Triplett
6856d509cb
Cargo.toml: Bump version to 1.12.0
3 years ago
Josh Triplett
df53df2b53
CHANGELOG.md: Changelog for 1.12.0
3 years ago
Josh Triplett
27ed889c67
CHANGELOG.md: Fix typo
3 years ago
Yosh
2aa8a430e3
Merge pull request #1026 from joshtriplett/remove-old-test-script
...
Remove wasm-test.sh (not invoked in CI)
3 years ago
Yosh
16b2796ef1
Merge pull request #1025 from joshtriplett/unbors
...
Remove old bors.toml
3 years ago
Josh Triplett
4534db57eb
Merge pull request #1024 from joshtriplett/remove-pre-std-future-docs
...
futures now re-exports std Future; remove docs about differences
3 years ago
Josh Triplett
e287d62020
Merge pull request #1022 from joshtriplett/rustfmt-stable
...
Remove rustfmt.toml - zero changes to formatting
3 years ago
Jacob Rothstein
ae817ca1a2
don't poll the reader again after eof while waiting for the writer to flush
3 years ago
Josh Triplett
ca8305064b
Switch branch name to `main`
...
Update all references.
3 years ago
Josh Triplett
422c3ddb85
Remove wasm-test.sh (not invoked in CI)
...
We build-test wasm in CI, and nothing runs this script.
Ideally, in the future, we should run wasm tests in CI, such as via
wasmtime.
3 years ago
Josh Triplett
6852812d85
Remove old bors.toml
...
This seems to be an artifact from when we used bors rather than GitHub
Actions.
3 years ago
Josh Triplett
6f2b6d3340
futures now re-exports std Future; remove docs about differences
3 years ago
Josh Triplett
97a2fbed07
Merge pull request #1023 from joshtriplett/cargo-toml-defaults
...
Cargo.toml: Remove redundant settings that match the defaults
3 years ago
Josh Triplett
267794c0bc
Cargo.toml: Remove redundant settings that match the defaults
3 years ago