| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Remove authors field from Cargo.toml (#2521) https://rust-lang.github.io/rfcs/3052-optional-authors-field.html | 4 年前 | |
Remove authors field from Cargo.toml (#2521) https://rust-lang.github.io/rfcs/3052-optional-authors-field.html | 4 年前 | |
Fix stable_features warning `` error: the feature cfg_target_has_atomic has been stable since 1.60.0 and no longer requires an attribute to enable --> futures/tests/no-std/src/lib.rs:3:12 | 3 | #![feature(cfg_target_has_atomic)] | ^^^^^^^^^^^^^^^^^^^^^ `` | 3 年前 | |
Format with rustfmt | 5 年前 | |
Add stream_select macro (#2262) | 4 年前 | |
Switch to FuturesOrdered dynamically in try_join_all (#2556) | 3 年前 | |
Run Miri on CI | 4 年前 | |
Format with rustfmt | 5 年前 | |
Run more tests with Miri (#2624) | 3 年前 | |
Abortable streams (#2410) | 5 年前 | |
Format with rustfmt | 5 年前 | |
Unify test file naming If the test is related to a particular module, use the file name starting with the module name. | 5 年前 | |
Unify test file naming If the test is related to a particular module, use the file name starting with the module name. | 5 年前 | |
Run Miri on CI | 4 年前 | |
| 5 年前 | ||
Unify test file naming If the test is related to a particular module, use the file name starting with the module name. | 5 年前 | |
Unify test file naming If the test is related to a particular module, use the file name starting with the module name. | 5 年前 | |
Run more tests with Miri (#2584) | 3 年前 | |
| 5 年前 | ||
Run Miri on CI | 4 年前 | |
Add BufReader::seek_relative (#2489) | 4 年前 | |
Format with rustfmt | 5 年前 | |
Format with rustfmt | 5 年前 | |
Add async LineWriter (#2477) | 4 年前 | |
Format with rustfmt | 5 年前 | |
| 5 年前 | ||
| 5 年前 | ||
Format with rustfmt | 5 年前 | |
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
futures: Require all stable features in tests (#2216) | 5 年前 | |
Format with rustfmt | 5 年前 | |
Run more tests with Miri (#2624) | 3 年前 | |
Run more tests with Miri (#2584) | 3 年前 | |
futures: Require all stable features in tests (#2216) | 5 年前 | |
Override Debug for oneshot::{Sender,Receiver}. Prior to this diff, the Debug impl for oneshot channels printed something like: Sender { inner: Inner { complete: false, data: Lock { locked: false, data: UnsafeCell }, rx_task: Lock { locked: false, data: UnsafeCell }, tx_task: Lock { locked: false, data: UnsafeCell } } } which isn't very helpful. Instead, just print Sender { complete: false } (or true, if the other end has dropped). Note that the T: Debug bound is retained to allow for the possibility of allowing slightly more interesting debug output in the future. | 5 年前 | |
Run more tests with Miri (#2624) | 3 年前 | |
Run more tests with Miri (#2584) | 3 年前 | |
Fix clippy::mem_replace_with_default warning `` warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/future/select_all.rs:62:28 | 62 | let rest = mem::replace(&mut self.inner, Vec::new()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(&mut self.inner) | = note: #[warn(clippy::mem_replace_with_default)] on by default = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/future/select_ok.rs:62:40 | 62 | ... let rest = mem::replace(&mut self.inner, Vec::new()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(&mut self.inner) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/stream/stream/collect.rs:22:9 | 22 | mem::replace(self.project().collection, Default::default()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(self.project().collection) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/stream/stream/unzip.rs:24:10 | 24 | (mem::replace(this.left, Default::default()), mem::replace(this.right, Default::default())) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(this.left) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/stream/stream/unzip.rs:24:55 | 24 | (mem::replace(this.left, Default::default()), mem::replace(this.right, Default::default())) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(this.right) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/stream/stream/chunks.rs:69:40 | 69 | let full_buf = mem::replace(this.items, Vec::new()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(this.items) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/stream/stream/ready_chunks.rs:77:40 | 77 | let full_buf = mem::replace(this.items, Vec::new()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(this.items) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/stream/try_stream/try_collect.rs:48:31 | 48 | None => break mem::replace(this.items, Default::default()), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(this.items) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/stream/try_stream/try_chunks.rs:74:40 | 74 | let full_buf = mem::replace(this.items, Vec::new()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(this.items) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/io/lines.rs:45:29 | 45 | Poll::Ready(Some(Ok(mem::replace(this.buf, String::new())))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(this.buf) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/io/read_exact.rs:33:33 | 33 | let (_, rest) = mem::replace(&mut this.buf, &mut []).split_at_mut(n); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(&mut this.buf) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/io/read_line.rs:25:31 | 25 | Self { reader, bytes: mem::replace(buf, String::new()).into_bytes(), buf, read: 0 } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(buf) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/io/read_to_string.rs:25:31 | 25 | Self { reader, bytes: mem::replace(buf, String::new()).into_bytes(), buf, start_len } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(buf) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures-util/src/io/write_all.rs:33:33 | 33 | let (_, rest) = mem::replace(&mut this.buf, &[]).split_at(n); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(&mut this.buf) | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default warning: replacing a value of type T with T::default() is better expressed using std::mem::take --> futures/tests/sink.rs:141:9 | 141 | mem::replace(&mut self.data, Vec::new()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: std::mem::take(&mut self.data) | = note: #[warn(clippy::mem_replace_with_default)] on by default = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default `` | 3 年前 | |
| 5 年前 | ||
Fix incorrect termination of select_with_strategy streams (#2635) | 3 年前 | |
Abortable streams (#2410) | 5 年前 | |
Unify test file naming If the test is related to a particular module, use the file name starting with the module name. | 5 年前 | |
| 5 年前 | ||
Add push_front and push_back to FuturesOrdered (#2591) | 3 年前 | |
Run more tests with Miri (#2584) | 3 年前 | |
| 5 年前 | ||
Add BufReader::seek_relative (#2489) | 4 年前 | |
Change SelectAll iterators to return stream instead of StreamFuture (#2431) | 5 年前 | |
| 5 年前 | ||
Format with rustfmt | 5 年前 | |
Run more tests with Miri (#2584) | 3 年前 | |
Unify test file naming If the test is related to a particular module, use the file name starting with the module name. | 5 年前 | |
Format with rustfmt | 5 年前 | |
Run more tests with Miri (#2624) | 3 年前 | |
futures-macro: improve diagnostics on type mismatch (#2433) | 5 年前 | |
Fix typos (#2449) | 4 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 5 年前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 4 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 4 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 4 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 4 年前 |