tison
6f9a15f6e3
bump msrv to 1.68
...
Signed-off-by: tison <wander4096@gmail.com >
2025-04-07 22:46:27 +09:00
tison
1d2089a6f8
chore: replace all doctest usage of pin_mut with pin ( #2940 )
...
Signed-off-by: tison <wander4096@gmail.com >
2025-04-05 16:25:39 +09:00
@brodycj - C. Jonathan Brody
036957bbcd
Bump MSRV of utility crates to 1.63 ( #2907 )
2025-01-13 00:38:27 +09:00
Taiki Endo
631aa93a59
Sync with 0.3.31
2024-10-05 16:41:20 +09:00
Taiki Endo
06d4acf901
Remove unused direct dependency on pin-utils
...
They use pin_mut via futures-util.
2024-05-03 02:22:26 +09:00
Taiki Endo
79785ec41d
Always set #![no_std] and remove redundant imports
...
```
error: the item `Box` is imported redundantly
--> futures-core/src/future.rs:89:9
|
89 | use alloc::boxed::Box;
| ^^^^^^^^^^^^^^^^^
--> /rustc/381d69953bb7c3390cec0fee200f24529cb6320f/library/std/src/prelude/mod.rs:115:13
|
= note: the item `Box` is already defined here
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
error: the item `Box` is imported redundantly
--> futures-core/src/stream.rs:203:9
|
203 | use alloc::boxed::Box;
| ^^^^^^^^^^^^^^^^^
--> /rustc/381d69953bb7c3390cec0fee200f24529cb6320f/library/std/src/prelude/mod.rs:115:13
|
= note: the item `Box` is already defined here
```
2024-02-26 23:26:11 +09:00
Taiki Endo
72e7e397cd
Sync with 0.3.30
2023-12-24 23:57:29 +09:00
Taiki Endo
6560b712f5
Remove unnecessary allowed lints
2023-12-24 22:49:03 +09:00
Taiki Endo
1e6e06cb9d
Apply unsafe_op_in_unsafe_fn lint if available on MSRV
2023-12-24 22:49:03 +09:00
Taiki Endo
9e5fccf437
Use [lints] in Cargo.toml
2023-12-24 22:49:03 +09:00
Taiki Endo
1f4b1fbc0a
Ignore clippy::test_attr_in_doctest lint
...
```
error: unit tests in doctest are not executed
--> futures-test/src/lib.rs:77:5
|
77 | /// #[test]
| _____^
78 | | /// fn my_test() {
| |______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#test_attr_in_doctest
= note: `-D clippy::test-attr-in-doctest` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::test_attr_in_doctest)]`
```
2023-12-08 01:22:44 +09:00
Taiki Endo
159b88dfd3
Sync with 0.3.29
2023-10-26 23:41:12 +09:00
Taiki Endo
4c03bf2c51
Remove unsafe code from AssertUnmoved
2023-10-26 22:08:09 +09:00
Taiki Endo
e9bda1dca9
Fix rustdoc::redundant_explicit_links warning ( #2769 )
2023-08-23 10:57:10 +09:00
Taiki Endo
5ac72c751c
Sync with 0.3.28
2023-03-31 02:46:28 +09:00
Taiki Endo
3fc74df38e
Bump MSRV of utility crates to 1.56 ( #2733 )
...
syn 2.0 requires 1.56.
2023-03-31 01:42:21 +09:00
Taiki Endo
8253b784fd
Fix rustdoc warning
...
```
warning: `crate::task::panic_waker` is both a module and a function
--> futures-test/src/task/mod.rs:26:23
|
26 | //! - [`panic_waker`](crate::task::panic_waker) creates a waker that panics when
| ^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous link
|
= note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
help: to link to the module, prefix with `mod@`
|
26 | //! - [`panic_waker`](mod@crate::task::panic_waker) creates a waker that panics when
| ++++
help: to link to the function, add parentheses
|
26 | //! - [`panic_waker`](crate::task::panic_waker()) creates a waker that panics when
| ++
```
2023-03-12 15:28:42 +09:00
Taiki Endo
e2c443336d
Sync with 0.3.27
2023-03-12 01:30:13 +09:00
Taiki Endo
3ee899991d
Ignore clippy::extra_unused_type_parameters lint ( #2707 )
2023-02-13 11:58:57 +09:00
Taiki Endo
9c6c9a7c1f
Sync with 0.3.26
2023-01-31 01:31:29 +09:00
Taiki Endo
3c657e5682
Sync with 0.3.25
2022-10-20 13:03:01 +09:00
Taiki Endo
67462f754f
Sync with 0.3.24
2022-08-29 23:05:48 +09:00
Taiki Endo
475a7112a4
Sync with 0.3.23
2022-08-14 21:57:18 +09:00
Taiki Endo
f466d6131a
Run more tests with Miri ( #2624 )
2022-07-22 22:10:05 +09:00
Taiki Endo
e2cc747221
Fix miri test failure ( #2621 )
2022-07-09 15:32:35 +09:00
Taiki Endo
2ebb94fd89
Update minimal version of pin-project to 1.0.11 ( #2619 )
2022-07-06 03:28:07 +09:00
Taiki Endo
d74763cc3c
Sync with 0.3.21
2022-02-06 22:42:19 +09:00
Taiki Endo
f6f4c0b73d
Sync with 0.3.20
2022-02-06 17:59:55 +09:00
Taiki Endo
dacf2565d4
Sync futures-io with 0.3
2021-12-19 01:45:53 +09:00
Taiki Endo
b48eb2e9a9
Sync futures-io with 0.3
2021-11-23 11:46:33 +09:00
Taiki Endo
d0f07bdc6b
Remove authors field from Cargo.toml ( #2521 )
...
https://rust-lang.github.io/rfcs/3052-optional-authors-field.html
2021-11-23 10:09:06 +09:00
Taiki Endo
9f73b8dcea
Add rust-version field to Cargo.toml
...
https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field
2021-11-23 09:54:21 +09:00
Taiki Endo
ad8af5dcea
Bump MSRV of utility crates to 1.45
2021-11-23 09:54:21 +09:00
Taiki Endo
714797a942
Remove doc URL from Cargo.toml
...
https://doc.rust-lang.org/cargo/reference/manifest.html#the-documentation-field
> If no URL is specified in the manifest file, crates.io will
> automatically link your crate to the corresponding docs.rs page.
2021-11-23 09:05:40 +09:00
hi-rustin
3ccce33a14
Make clippy happy
...
Signed-off-by: hi-rustin <rustin.liu@gmail.com >
2021-11-21 18:00:52 +09:00
Taiki Endo
939614bb6f
Fix clippy::redundant_closure warning
2021-10-01 22:05:46 +09:00
Taiki Endo
26493b5859
Ignore clippy::if_then_panic lint
2021-10-01 22:05:46 +09:00
Taiki Endo
79bb1c1630
Sync futures-io with 0.3
2021-08-30 20:01:00 +09:00
Taiki Endo
5c75a1f33d
Sync futures-io with 0.3
2021-07-24 04:33:25 +09:00
Taiki Endo
00afc3b9a2
Fix typos ( #2449 )
2021-06-09 01:02:08 +09:00
Taiki Endo
5ed16261da
Adjust lints ( #2441 )
2021-05-12 22:47:30 +09:00
Taiki Endo
ec84d12e1d
Sync changelog and futures-io with 0.3 ( #2437 )
2021-05-11 21:36:31 +09:00
ibraheemdev
84c2fed8eb
apply suggestions from code review
2021-05-08 00:16:45 +09:00
ibraheemdev
5180351267
don't skip async-test macro doc tests
2021-05-08 00:16:45 +09:00
ibraheemdev
0475168e40
async test function attr
2021-05-08 00:16:45 +09:00
Taiki Endo
c8396750c2
Sync changelog and futures-io with 0.3
2021-04-10 17:40:06 +09:00
Jacob Hughes
dd019055ef
Rustfmt all code
...
If this commit is showing up in your git blame, do the following:
git config blame.ignoreRevsFile .git-blame-ignore-revs
2021-04-10 15:23:29 +09:00
Taiki Endo
9f40e6c1b4
Start futures 0.4 and futures-core 1.0 development ( #2335 )
...
- futures-core: 0.3 -> 1.0
- futures-io: as-is
- others: 0.3 -> 0.4
2021-02-26 11:52:40 +09:00
Taiki Endo
c91f869167
Release 0.3.13 ( #2350 )
2021-02-23 12:40:19 +09:00
Kai Jewson
ddbf522866
Avoid once_cell in static wakers ( #2332 )
2021-02-06 20:51:57 +09:00