Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metric atomic usize #1

Closed
wants to merge 1,347 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1347 commits
Select commit Hold shift + click to select a range
9d51b76
sync: add `watch::Sender::new` (#5998)
nicflower Sep 19, 2023
ad7f988
sync: fix `mark_changed` when version overflows (#6017)
uklotzde Sep 19, 2023
3f6165d
chore: prepare tokio-util v0.7.9 (#6019)
cconstantine Sep 20, 2023
9bc782a
sync: fix incorrect comment (#6020)
uklotzde Sep 21, 2023
bfa9ea8
io: use memchr from libc (#5960)
Darksonn Mar 19, 2023
938c7eb
chore: prepare Tokio v1.20.6 (#6024)
Darksonn Sep 22, 2023
60a0ca5
Merge 'tokio-1.20.6' into 'tokio-1.25.x' (#6025)
Darksonn Sep 22, 2023
9ab4ca6
chore: prepare Tokio v1.25.2 (#6026)
Darksonn Sep 22, 2023
ccb37c4
Merge 'tokio-1.25.2' into 'tokio-1.32.x' (#6027)
Darksonn Sep 22, 2023
74c7a87
Merge 'tokio-1.32.x' into 'master' (#6028)
Darksonn Sep 22, 2023
aa36807
sync: fix docs typo (#6030)
rebekahkim Sep 23, 2023
f5b8cf9
sync: add token bucket example to Semaphore (#5978)
maminrayej Sep 23, 2023
b161633
sync: reorder Semaphore examples (#6031)
Darksonn Sep 23, 2023
707fb4d
tokio: remove wildcard in match patterns (#5970)
wathenjiang Sep 23, 2023
02aacf5
sync: make `TokenBucket::close` into a destructor in example (#6032)
Darksonn Sep 24, 2023
e76c06b
sync: prevent lock poisoning in `watch::Receiver::wait_for` (#6021)
uklotzde Sep 24, 2023
453c720
sync: use Acquire/Release instead of SeqCst in watch (#6018)
uklotzde Sep 24, 2023
ca89c5b
benches: move sender to a spawned task in `watch` benchmark (#6034)
satakuma Sep 28, 2023
0700d6a
io: mark `Interest::add` with `#[must_use]` (#6037)
nylonicious Sep 29, 2023
310adf7
rt: fix flaky test `test_disable_lifo_slot` (#6043)
Darksonn Oct 2, 2023
eaba971
sync: document that broadcast capacity is a lower bound (#6042)
Darksonn Oct 3, 2023
52b29b3
net: add apple tvos support (#6045)
lcruz99 Oct 4, 2023
5d29136
docs: add semaphore example for running tests sequentially (#6038)
Oct 5, 2023
d6ed00c
sync: `Semaphore` doc final cleanup (#6050)
Darksonn Oct 5, 2023
8cd3383
time: reduce iteration count in short_sleeps test (#6052)
Darksonn Oct 5, 2023
6b010ac
docs: fix new doc warnings in 1.73.0 (#6055)
Darksonn Oct 6, 2023
f306bd0
sync: fix unclosed code block in example (#6056)
jiftoo Oct 6, 2023
2bd4376
rt: do not trace tasks while locking `OwnedTasks` (#6036)
jswrenn Oct 6, 2023
4557451
io: implement `Seek` for `SyncIoBridge` (#6058)
nitsky Oct 7, 2023
0457690
chore: prepare Tokio v1.33.0 release (#6059)
satakuma Oct 9, 2023
d420d52
chore: render taskdump docs in Netlify previews (#6060)
satakuma Oct 9, 2023
0f296d2
io: allow `clear_readiness` after io driver shutdown (#6067)
Darksonn Oct 12, 2023
c008612
chore: move 1.20.x to previous LTS releases (#6069)
satakuma Oct 12, 2023
339c78a
tokio: remove #5973 from changelog (#6073)
Darksonn Oct 14, 2023
1134cbb
net: fix flaky doctest for `TcpStream::into_std` (#6074)
Darksonn Oct 14, 2023
f9335b8
fs: update cfg attr in `fs::read_dir` (#6075)
icedrocket Oct 15, 2023
f1e41a4
task: add `JoinMap::keys` (#6046)
andreastedile Oct 15, 2023
f3ad6cf
task: fix missing wakeup when using `LocalSet::enter` (#6016)
inq Oct 15, 2023
944f769
chore: remove bin directory (#6078)
Darksonn Oct 15, 2023
7239342
time: reorder comment in sleep.rs (#6076)
Darksonn Oct 15, 2023
a08ad92
changelog: fix typo in quadratic (#6079)
Darksonn Oct 15, 2023
654a3d5
io: fix integer overflow in `take` (#6080)
Darksonn Oct 15, 2023
1b8ebfc
readme: remove rdbc and add axum to related projects (#6077)
Darksonn Oct 16, 2023
6871084
chore: clippy and doc fixes (#6081)
barafael Oct 16, 2023
881b510
sync: add `mpsc::Receiver::recv_many` (#6010)
aschweig Oct 17, 2023
7041083
task: add `tokio_util::sync::TaskTracker` (#6033)
Darksonn Oct 22, 2023
bc48a6f
sync: fix `broadcast::channel` link (#6100)
xianhuazhou Oct 23, 2023
d22c549
deps: update hashbrown to 0.14 (#6102)
dignifiedquire Oct 24, 2023
58acb56
ci: update nightly to 2023-10-21 (#6103)
Darksonn Oct 24, 2023
503fad7
chore: prepare tokio-util v0.7.10 (#6104)
Darksonn Oct 25, 2023
f3949cc
tokio: added vita target support (#6094)
nikarh Oct 25, 2023
cc86fef
tokio: gate some panicking tests with `#[cfg(panic = "unwind")]` (#6110)
Darksonn Oct 26, 2023
d8a4a5f
tokio: gate some panicking tests with #[cfg(panic = "unwind")] (#6115)
Satyam1Vishwakarma Oct 30, 2023
593dbf5
docs: fix typos (#6118)
fritzrehde Oct 30, 2023
ed32cd1
task: add tests for tracing instrumentation of tasks (#6112)
hds Oct 31, 2023
4c85801
ci: fix docs on latest nightly (#6120)
Darksonn Nov 1, 2023
65f861f
stream: add `StreamExt::peekable` (#6095)
MarinPostma Nov 1, 2023
944024e
chore: update rust-version to 1.63 in all crates (#6126)
Darksonn Nov 4, 2023
61fcc3b
time: remove cached `elapsed` value from driver state (#6097)
satakuma Nov 5, 2023
161ecec
stream: fix typo in peekable docs (#6130)
yotamofek Nov 5, 2023
8ec3e0d
metrics: update stats when unparking in multi-thread (#6131)
aliu Nov 6, 2023
30b2eb1
io: fix possible I/O resource hang (#6134)
carllerche Nov 8, 2023
19d96c0
io: increase `ScheduledIo` tick resolution (#6135)
carllerche Nov 8, 2023
49eb26f
chore: prepare Tokio v1.34.0 release (#6138)
carllerche Nov 9, 2023
2e5773a
runtime: handle missing context on wake (#6148)
Darksonn Nov 14, 2023
06660ef
io: flush in `AsyncWriteExt` examples (#6149)
Darksonn Nov 14, 2023
d44e995
task: document cancel safety of `LocalSet::run_until` (#6147)
Darksonn Nov 14, 2023
e6720f9
metrics: fix hang in `worker_overflow_count` test (#6146)
Darksonn Nov 14, 2023
135d7ca
taskdump: fix taskdump cargo config example (#6150)
hds Nov 14, 2023
7b55518
sync: avoid creating resource spans with curernt parent, use a None p…
xuorig Nov 14, 2023
340d4e5
runtime: fix comment typos (#6143)
wutchzone Nov 19, 2023
7a30504
task: make task span explicit root (#6158)
hds Nov 19, 2023
498288c
chore: fix docsrs without net feature (#6166)
Darksonn Nov 23, 2023
a8e8fa6
time: add `DelayQueue::deadline` (#6163)
aliu Nov 23, 2023
2400769
net: add `SocketAddr::as_abstract_namespace` (#6144)
hkrutzer Nov 25, 2023
3468b4b
runtime: document fairness guarantees and current behavior (#6145)
Darksonn Nov 29, 2023
4c33ed3
net: add Apple watchOS support (#6176)
simlay Nov 29, 2023
7232424
chore: remove uses of unsafe from maybe_done.rs (#6180)
KamilaBorowska Dec 1, 2023
3ac4cfb
runtime: move comment to the right place (#6184)
zhiqiangxu Dec 3, 2023
ed4f766
runtime: make `Runtime` unwind safe (#6189)
fzyzcjy Dec 4, 2023
a0a58d7
tokio: update nix dependency to 0.27.1 (#6190)
qwandor Dec 4, 2023
3a4aef1
runtime: reduce the lock contention in task spawn (#6001)
wathenjiang Dec 7, 2023
d561b58
taskdump: skip notified tasks during taskdumps (#6194)
jswrenn Dec 8, 2023
48c0e62
chore: use relaxed load for `unsync_load` on miri (#6179)
Darksonn Dec 8, 2023
3991f9f
docs: fix typo in 'tokio/src/sync/broadcast.rs' (#6182)
trueNAHO Dec 8, 2023
83b7397
io: drop the `Sized` requirements from `AsyncReadExt.read_buf` (#6169)
tijsvd Dec 8, 2023
debcb22
Revert "net: add `SocketAddr::as_abstract_namespace` (#6144)" (#6198)
Darksonn Dec 8, 2023
e05d0f8
changelog: fix missing link for 1.8.2 (#6199)
Darksonn Dec 8, 2023
c9273f1
sync: improve safety comments for `WakeList` (#6200)
Darksonn Dec 8, 2023
1968565
chore: use relaxed load for unsync_load (#6203)
Darksonn Dec 8, 2023
92a3455
chore: prepare Tokio v1.35.0 (#6197)
Darksonn Dec 8, 2023
c06a550
coop: fix typo in docs for `task::unconstrained` (#6212)
MrFixThis Dec 11, 2023
4aa7bbf
chore: typo fixes (#6213)
Dec 11, 2023
ab7313f
io: add budgeting to tokio::runtime::io::registration::async_io (#6221)
Noah-Kennedy Dec 17, 2023
0d36233
chore: release v1.25.3 (#6223)
Noah-Kennedy Dec 19, 2023
22b3a65
Merge 'tokio-1.25.3' into 'tokio-1.32.x' (#6227)
Darksonn Dec 19, 2023
c4f0178
chore: prepare Tokio v1.32.1 (#6228)
Darksonn Dec 19, 2023
0a1695e
Merge 'tokio-1.32.1' into 'tokio-1.35.x' (#6229)
Darksonn Dec 19, 2023
46ff363
chore: prepare Tokio v1.35.1 (#6230)
Darksonn Dec 19, 2023
410660f
Merge 'tokio-1.35.1' into 'master' (#6231)
Darksonn Dec 19, 2023
bd15bac
io: add `tokio::io::Join` (#6220)
devsnek Dec 19, 2023
4335457
tests: fix name of `coop_budget.rs` (#6234)
Darksonn Dec 19, 2023
e7214e3
io: implement `AsyncWrite` for `Empty` (#6235)
mcastorina Dec 20, 2023
53ad102
util: implement `Sink` for `Either` (#6239)
mobley-trent Dec 22, 2023
7cae89a
benches: fix benchmarking conflicts (#6243)
Darksonn Dec 22, 2023
d51308b
ci: fix configured clippy msrv (#6244)
Darksonn Dec 23, 2023
52f28dc
benches: fix benchmarking conflicts for real this time (#6246)
Darksonn Dec 28, 2023
5f7fe8f
ci: fix new warnings on 1.75.0 (#6255)
mox692 Dec 29, 2023
581cd41
io: make `repeat` and `sink` cooperative (#6254)
mox692 Dec 30, 2023
48345d6
net: add support for anonymous unix pipes (#6127)
satakuma Dec 30, 2023
02b779e
sync: add `watch::Receiver::mark_unchanged` (#6252)
PaulOlteanu Dec 30, 2023
7341004
sync: add `{Receiver,UnboundedReceiver}::poll_recv_many` (#6236)
Owen-CH-Leung Jan 1, 2024
c029771
task: fix typo (#6261)
jesses-canva Jan 2, 2024
2d2faf6
rt: improve robustness of `wake_in_drop_after_panic` test (#6238)
Darksonn Jan 2, 2024
7c606ab
sync: add `Sender::{try_,}reserve_many` (#6205)
Totodore Jan 2, 2024
c7e7f20
chore: typographic improvements (#6262)
Darksonn Jan 3, 2024
2f730d4
ci: update FreeBSD CI environment to 13.2 (#6270)
asomers Jan 6, 2024
e929d0e
tests: update mio-aio to 0.8 (#6269)
asomers Jan 6, 2024
d6ba535
ci: update actions/checkout action to v4 (#6272)
taiki-e Jan 6, 2024
9780bf4
ci: update cargo-check-external-types to 0.1.10 (#6274)
taiki-e Jan 6, 2024
3275cfb
io: make `copy` cooperative (#6265)
Rustin170506 Jan 6, 2024
84c5674
ci: update clippy version to 1.75 (#6273)
taiki-e Jan 6, 2024
8463af9
sync: document FIFO behavior of `tokio::sync::Mutex` (#6279)
azuredream Jan 11, 2024
e4f9bcb
process: use pidfd on Linux when available (#6152)
NobodyXu Jan 11, 2024
12ce924
task: add `JoinSet::try_join_next` (#6280)
maminrayej Jan 14, 2024
bfd7b08
time: add `FutureExt::timeout` (#6276)
evanrittenhouse Jan 16, 2024
58edfc6
ci: verify that tests work with panic=abort (#6283)
maminrayej Jan 16, 2024
eab26a6
net: document that `*Fd` traits on `TcpSocket` are unix-only (#6294)
maminrayej Jan 18, 2024
f80bbec
io: simplify check for empty slice (#6293)
wutchzone Jan 18, 2024
ec30383
net: add `UnixSocket` (#6290)
maminrayej Jan 22, 2024
4846959
runtime: remove obsolete comment (#6303)
mox692 Jan 24, 2024
b6d0c90
macros: fix trait_method breaking change detection (#6308)
ik1ne Jan 26, 2024
7536132
sync: use AtomicBool in broadcast channel future (#6298)
vnetserg Jan 27, 2024
e53b92a
io: clarify `clear_ready` docs (#6304)
maminrayej Jan 27, 2024
131e7b4
ci: add spellchecking (#6297)
Owen-CH-Leung Jan 29, 2024
9077762
net: expose keepalive option on `TcpSocket` (#6311)
maminrayej Jan 30, 2024
53f9e5a
ci: make sure dictionary words are sorted and unique (#6316)
maminrayej Jan 31, 2024
eaf81ed
chore: prepare Tokio v1.36.0 (#6312)
maminrayej Feb 2, 2024
cb197de
docs: transition_to_idle doesn't return boolean (#6320)
hackaugusto Feb 2, 2024
0b31b2a
task: implement `FromIterator` for `JoinSet` (#6300)
erikdesjardins Feb 2, 2024
63caced
tokio: update CHANGELOG.md (#6324)
Darksonn Feb 3, 2024
fbdf539
sync: make downgrade must_use (#6326)
Darksonn Feb 5, 2024
47a5fe3
metrics: fix worker_steal_count test hanging (#6327)
Darksonn Feb 5, 2024
10c9eeb
runtime: include task `Id` in taskdumps (#6328)
jswrenn Feb 5, 2024
0fbde0e
sync: add `forget_permits` method to semaphore (#6331)
mox692 Feb 8, 2024
e392c4f
chore: update CI to clippy 1.76 (#6334)
pmcgleenon Feb 10, 2024
e25d661
util: add examples for FramedRead and FramedWrite (#6310)
maminrayej Feb 10, 2024
db6929a
task: fix documentation links (#6336)
progval Feb 11, 2024
84e41d4
io: document cancel safety of `AsyncReadExt`'s primitive read functio…
maminrayej Feb 11, 2024
2ce1cee
macros: allow select with only else branch (#6339)
GilShoshan94 Feb 13, 2024
b32826b
runtime: fix leaking registration entries when os registration fails …
maminrayej Feb 14, 2024
099ee23
docs: fix docsrs build without net feature (#6360)
qrnch-jan Feb 19, 2024
94db07b
task: add `TaskLocalFuture::take_value` (#6340)
mox692 Feb 21, 2024
a209604
ci: downgrade to QEMU 7.2 for cross-compile builds (#6361) (#6363)
pmcgleenon Feb 23, 2024
5658d7c
runtime: add doc link from `Runtime` to `#[tokio::main]` (#6366)
kpreid Feb 25, 2024
3125279
ci: update FreeBSD image to 14 (#6376)
Darksonn Mar 3, 2024
e0d33c4
tokio: mark 1.36 as an LTS release (#6375)
Darksonn Mar 3, 2024
f5ca423
sync: fix missing period in broadcast docs (#6377)
levkk Mar 4, 2024
f6d0619
test: mark `Spawn` as `#[must_use]` (#6371)
mox692 Mar 4, 2024
1f924f9
chore: fix deprecated circleci image (#6379)
pmcgleenon Mar 5, 2024
3133af4
runtime: make the `enter` example deterministic (#6351)
maminrayej Mar 10, 2024
b4ab647
signal: fix typo in argument name (#6389)
yotamofek Mar 10, 2024
a3d2548
sync: implement `Clone` for `watch::Sender` (#6388)
mox692 Mar 12, 2024
fb2dc97
readme: update commit message guidelines (#6393)
Darksonn Mar 12, 2024
ea1cfbd
sync: reorder const_new before new_with (#6392)
Darksonn Mar 12, 2024
3141ed6
sync: update watch channel docs (#6395)
mox692 Mar 13, 2024
c9e7578
sync: remove `'static` bound on `impl Sink for PollSender` (#6397)
nyibbang Mar 14, 2024
e37bd63
io: implement `try_new` and `try_with_interest` for `AsyncFd` (#6345)
maminrayej Mar 14, 2024
7cfb100
chore: prepare tokio-stream v0.1.15 (#6401)
Darksonn Mar 14, 2024
3d0d0fd
chore: prepare tokio-test v0.4.4 (#6400)
Darksonn Mar 14, 2024
b2896fe
io: use Mutex instead of spinlock (#6403)
maminrayej Mar 16, 2024
bd51fea
readme: fix running loom tests guide (#6408)
maminrayej Mar 17, 2024
5baa8d5
sync: remove stale comment (#6406)
maminrayej Mar 17, 2024
d51f168
runtime: panic if `unhandled_panic` is enabled when not supported (#6…
maminrayej Mar 20, 2024
bb25a06
chore: fix dead code warnings (#6423)
maminrayej Mar 22, 2024
f9d78fb
fs: add `set_max_buf_size` to `tokio::fs::File` (#6411)
mox692 Mar 22, 2024
baad270
sync: add Semaphore example for limiting the number of outgoing reque…
czzrr Mar 22, 2024
1846483
sync: expose strong and weak counts of mpsc sender handles (#6405)
maminrayej Mar 22, 2024
4c453e9
readme: add description about benchmarks (#6425)
mox692 Mar 23, 2024
8342e4b
util: assert compatibility between `LengthDelimitedCodec` options (#6…
maminrayej Mar 23, 2024
3ce4720
sync: add `is_closed`, `is_empty`, and `len` to mpsc receivers (#6348)
balliegojr Mar 24, 2024
4565b81
sync: add a `rwlock()` method to owned `RwLock` guards (#6418)
r3v2d0g Mar 24, 2024
deff252
util: document cancel safety of `SinkExt::send` and `StreamExt::next`…
maminrayej Mar 24, 2024
4601c84
stream: add `next_many` and `poll_next_many` to `StreamMap` (#6409)
maminrayej Mar 26, 2024
e542501
io: document cancel safety of `AsyncBufReadExt::fill_buf` (#6431)
maminrayej Mar 26, 2024
9c337ca
chore: prepare Tokio v1.37.0 (#6435)
Darksonn Mar 28, 2024
3936ebd
chore: update CI to clippy 1.77 (#6443)
Siech0 Mar 30, 2024
1fcb77d
io: add `T: ?Sized` to `tokio_util::io::poll_read_buf` (#6441)
tglane Mar 30, 2024
d298049
codec: make tracing feature optional for codecs (#6434)
Gelbpunkt Mar 30, 2024
e9ae5d4
io: implement `AsyncBufRead` for `Join` (#6449)
bharath-123 Apr 2, 2024
328a02c
runtime: improvements for `global_queue_interval` (#6445)
mox692 Apr 3, 2024
a1acfd8
readme: add readme for tokio-stream (#6456)
aoikurokawa Apr 3, 2024
035a968
chore: fix typo (#6464)
taiki-e Apr 5, 2024
01ed7b5
net: add Apple visionOS support (#6465)
QuentinPerez Apr 6, 2024
431b7c5
macros: render more comprehensible documentation for `select!` (#6468)
dtolnay Apr 6, 2024
5712aaf
metrics: ignore `worker_steal_count` test (#6471)
Darksonn Apr 7, 2024
b6d74ac
runtime: add links in docs for issues and crates (#6473)
aoikurokawa Apr 8, 2024
be9328d
chore: fix clippy warnings (#6466)
barafael Apr 8, 2024
ccee1d4
task: make `LocalKey::get` work with Clone types (#6433)
fenollp Apr 10, 2024
224fea4
sync: add `split` method to the semaphore permit (#6472)
vvvviiv Apr 10, 2024
43de364
readme: mention cargo-docs-rs in CONTRIBUTING.md (#6475)
dtolnay Apr 11, 2024
bdf4c14
fs: rewrite file system docs (#6467)
Darksonn Apr 11, 2024
90e20bc
sync: use usize instead of u32 for `SemaphorePermit::split` (#6478)
Darksonn Apr 11, 2024
ee68c1a
sync: add examples for `SemaphorePermit`, `OwnedSemaphorePermit` (#6477)
mox692 Apr 12, 2024
a5bd0de
docs: add --locked to cargo install commands (#6479)
joshka Apr 13, 2024
1f6fc55
net: add missing types to module docs (#6482)
Darksonn Apr 13, 2024
9c6ff3b
sync: explain relation between `watch::Sender::{subscribe,closed}` (#…
Darksonn Apr 17, 2024
5ba12a7
sync: document that `Barrier::wait` is not cancel safe (#6494)
Darksonn Apr 18, 2024
f3bfed3
metrics: document `Runtime::metrics` (#6496)
kvcache Apr 19, 2024
125a185
io: fix obsolete reference in `ReadHalf::unsplit()` documentation (#6…
kpreid Apr 20, 2024
2438b43
sync: instrument `Semaphore` for task dumps (#6499)
mox692 Apr 20, 2024
1961890
time: fix test-util requirement for pause and resume in docs (#6503)
jainl28patel Apr 21, 2024
8093712
io: add `copy_bidirectional_with_sizes` (#6500)
RRRadicalEdward Apr 22, 2024
a73d6bf
macros: `#[cfg(not(test))]` is no longer necessary for main macros (#…
avtrujillo Apr 23, 2024
9ed5957
wasm: support rt-multi-thread with wasm32-wasi-preview1-threads (#6510)
Brooooooklyn Apr 24, 2024
731dde2
runtime: clarify misleading use of `UnsafeCell::with_mut` (#6513)
e00E Apr 25, 2024
d33fdd8
time: check for overflow in `Interval::poll_tick` (#6487)
jxs Apr 25, 2024
28439e2
time: clean up implementation (#6517)
paolobarbolini May 1, 2024
e971a5e
util: use FIFO ordering in `WakeList` (#6521)
paolobarbolini May 1, 2024
3c8d8e6
chore: fix latest rust-1.78.0 warnings (#6528)
mox692 May 3, 2024
b7d4fba
sync: add `mpsc::Receiver::{capacity,max_capacity}` (#6511)
mbrobbel May 3, 2024
f6eb1ee
time: lazily init timers on first poll (#6512)
wathenjiang May 3, 2024
cdf9d99
chore: prepare tokio-util v0.7.11 (#6535)
Darksonn May 4, 2024
75e5b3d
runtime: ignore `yield_calls_park_before_scheduling_again` test (#6537)
Darksonn May 5, 2024
7f59a6e
tests: remove tests module from integration tests (#6540)
Darksonn May 5, 2024
b652a4e
util: no default features for hashbrown (#6541)
Darksonn May 5, 2024
2a0df5f
ci: bump nightly to nightly-2024-05-05 (#6538)
Darksonn May 5, 2024
6fcd9c0
macros: make #[tokio::test] append #[test] at the end of the attribut…
kezhuw May 5, 2024
227979f
net: support QNX OS (#6421)
SebastianSchildt May 14, 2024
d085260
metrics: fix flaky injection_queue_depth test (#6559)
Darksonn May 14, 2024
df77063
time: remove the `true_when` field in `TimerShared` (#6563)
wathenjiang May 15, 2024
18e048d
sync: always drop message in destructor for oneshot receiver (#6558)
wenym1 May 15, 2024
ced7739
tokio: use `ptr::addr_of` instead of pointer arithmetic in linked_lis…
udoprog May 16, 2024
d221c50
docs: gate taskdump compiler_error behind not(doc) (#6564)
rcoh May 16, 2024
35c6fd9
ci: set RUSTUP_WINDOWS_PATH_ADD_BIN=1 (#6568)
Darksonn May 17, 2024
daa8901
ci: fix new clippy warnings (#6569)
41Leahcim May 18, 2024
a024071
task: clarify that you can't abort `spawn_blocking` tasks (#6571)
Darksonn May 19, 2024
0b651c0
fs: add `File::create_new` (#6573)
maminrayej May 22, 2024
e62c3e9
task: add `tokio::task::join_set::Builder::spawn_blocking` (#6578)
Rustin170506 May 22, 2024
1914e1e
time: use sharding for timer implementation (#6534)
wathenjiang May 22, 2024
16ef7b1
docs: fix `stdin` documentation (#6581)
roy-work May 23, 2024
cba86cf
metrics: add MetricAtomicU64 and use in metrics (#6574)
rcoh May 23, 2024
12920ce
tests: update nix and mio-aio dependencies (#6552)
asomers May 25, 2024
0a85a96
net: implement `Clone` for `NamedPipeInfo` (#6586)
Tacklebox May 25, 2024
2890d0c
metrics: fix blocking_threads count (#6551)
conradludgate May 25, 2024
3a6fdc0
license: fix formatting and remove year in licenses (#6451)
joshka May 26, 2024
6c42d28
net: fix misleading `NamedPipeServer` example (#6590)
Tacklebox May 26, 2024
9e00b26
sync: add `Notify::notify_last` (#6520)
pfreixes May 27, 2024
86658bd
metrics: stabilize `RuntimeMetrics::worker_count` (#6556)
rcoh May 28, 2024
e9c4d67
metrics: create MetricAtomicUsize for usized-metrics
rcoh May 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2.1
jobs:
test-arm:
machine:
image: default
resource_class: arm.medium
environment:
# Change to pin rust version
RUST_STABLE: stable
steps:
- checkout
- run:
name: Install Rust
command: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup.sh
chmod +x rustup.sh
./rustup.sh -y --default-toolchain $RUST_STABLE
source "$HOME"/.cargo/env
# Only run Tokio tests
- run: cargo test --all-features -p tokio

workflows:
ci:
jobs:
- test-arm
51 changes: 40 additions & 11 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,58 @@
only_if: $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH =~ 'tokio-.*')
auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'tokio-.*'
freebsd_instance:
image: freebsd-12-2-release-amd64
image_family: freebsd-14-0
env:
RUST_STABLE: stable
RUST_NIGHTLY: nightly-2024-05-05
RUSTFLAGS: -D warnings

# Test FreeBSD in a full VM on cirrus-ci.com. Test the i686 target too, in the
# same VM. The binary will be built in 32-bit mode, but will execute on a
# 64-bit kernel and in a 64-bit environment. Our tests don't execute any of
# the system's binaries, so the environment shouldn't matter.
task:
name: FreeBSD
env:
LOOM_MAX_PREEMPTIONS: 2
RUSTFLAGS: -Dwarnings
name: FreeBSD 64-bit
setup_script:
- pkg install -y bash curl
- pkg install -y bash
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile minimal --default-toolchain stable
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE
- . $HOME/.cargo/env
- rustup target add i686-unknown-freebsd
- |
echo "~~~~ rustc --version ~~~~"
rustc --version
test_script:
- . $HOME/.cargo/env
- cargo test --all --all-features
- cargo doc --all --no-deps
i686_test_script:

task:
name: FreeBSD docs
env:
RUSTFLAGS: --cfg docsrs --cfg tokio_unstable
RUSTDOCFLAGS: --cfg docsrs --cfg tokio_unstable -Dwarnings
setup_script:
- pkg install -y bash
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_NIGHTLY
- . $HOME/.cargo/env
- |
echo "~~~~ rustc --version ~~~~"
rustc --version
test_script:
- . $HOME/.cargo/env
- cargo doc --lib --no-deps --all-features --document-private-items

task:
name: FreeBSD 32-bit
setup_script:
- pkg install -y bash
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE
- . $HOME/.cargo/env
- rustup target add i686-unknown-freebsd
- |
cargo test --all --all-features --target i686-unknown-freebsd
echo "~~~~ rustc --version ~~~~"
rustc --version
test_script:
- . $HOME/.cargo/env
- cargo test --all --all-features --target i686-unknown-freebsd
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: [tokio-rs]
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contact_links:
- name: Question
url: https://github.com/tokio-rs/tokio/discussions
about: Questions about Tokio should be posted as a GitHub discussion.
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

28 changes: 28 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

R-loom-sync:
- tokio/src/sync/*
- tokio/src/sync/**/*

R-loom-time-driver:
- tokio/src/runtime/time/*
- tokio/src/runtime/time/**/*

R-loom-current-thread:
- tokio/src/runtime/scheduler/*
- tokio/src/runtime/scheduler/current_thread/*
- tokio/src/runtime/task/*
- tokio/src/runtime/task/**

R-loom-multi-thread:
- tokio/src/runtime/scheduler/*
- tokio/src/runtime/scheduler/multi_thread/*
- tokio/src/runtime/scheduler/multi_thread/**
- tokio/src/runtime/task/*
- tokio/src/runtime/task/**

R-loom-multi-thread-alt:
- tokio/src/runtime/scheduler/*
- tokio/src/runtime/scheduler/multi_thread_alt/*
- tokio/src/runtime/scheduler/multi_thread_alt/**
- tokio/src/runtime/task/*
- tokio/src/runtime/task/**
12 changes: 10 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,22 @@ on:
schedule:
- cron: '0 2 * * *' # run at 2 AM UTC

permissions:
contents: read

jobs:
security-audit:
permissions:
checks: write # for rustsec/audit-check to create check
contents: read # for actions/checkout to fetch code
issues: write # for rustsec/audit-check to create issues
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Audit Check
uses: actions-rs/audit-check@v1
# https://github.com/rustsec/audit-check/issues/2
uses: rustsec/audit-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
55 changes: 0 additions & 55 deletions .github/workflows/bench.yml

This file was deleted.

Loading
Loading