This is Anthropic's fork of tokio, published to our internal Artifactory registry as crates-internal.
Versions follow the +anthropic.N suffix convention per go/fork:
1.49.0+anthropic.1= tokio 1.49.0 + stall detection feature
Detects when a tokio worker thread is stalled (blocked in a task poll for too long) and reports diagnostics including stack traces via tracing.
let rt = tokio::runtime::Builder::new_multi_thread()
.enable_stall_detection()
.stall_detection_poll_interval(Duration::from_millis(100))
.stall_detection_escalation_threshold(Duration::from_secs(10))
.build()
.unwrap();Publishing happens automatically when changes are pushed to the anthropic-1.49.0 branch. The GitHub Actions workflow uses OIDC authentication with Artifactory.
- The
anthropics/tokiorepo must be added to the OIDC config inanthropics/terraform-config - A
publish-cliGitHub environment must be configured in repo settings - The
jfrog/setup-jfrog-cliaction must be allowed in repo settings
In the workspace Cargo.toml:
[patch.crates-io]
tokio = { version = "1.49.0+anthropic.1", registry = "crates-internal" }