Skip to content

feat(hydro_lang,dfir_rs)!: place Tokio dependencies behind a feature flag#2960

Open
shadaj wants to merge 2 commits into
sandbox-7d0b037a-e634-4cf4-996c-099e82e0a733from
no-required-tokio-dep
Open

feat(hydro_lang,dfir_rs)!: place Tokio dependencies behind a feature flag#2960
shadaj wants to merge 2 commits into
sandbox-7d0b037a-e634-4cf4-996c-099e82e0a733from
no-required-tokio-dep

Conversation

@shadaj

@shadaj shadaj commented Jun 19, 2026

Copy link
Copy Markdown
Member

Breaking Changes:

  • the hydro_lang::telemetry::emf module now requires the non-default telemetry_emf feature

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 19, 2026

Copy link
Copy Markdown

Deploying hydro with  Cloudflare Pages  Cloudflare Pages

Latest commit: bb5a9de
Status: ✅  Deploy successful!
Preview URL: https://49010524.hydroflow.pages.dev
Branch Preview URL: https://no-required-tokio-dep.hydroflow.pages.dev

View logs

@shadaj shadaj force-pushed the remove-tokio-dep-sinktools branch from e72392b to 0a97dda Compare June 19, 2026 00:27
@shadaj shadaj force-pushed the no-required-tokio-dep branch from c4dc063 to 47e654a Compare June 19, 2026 00:27
@shadaj shadaj force-pushed the no-required-tokio-dep branch from 47e654a to f231534 Compare June 19, 2026 01:37
@shadaj

shadaj commented Jun 19, 2026

Copy link
Copy Markdown
Member Author

Validated with:

cargo hack check --workspace --feature-powerset --exclude-features default,stageleft_macro_entrypoint --mutually-exclusive-features build,runtime_support --mutually-exclusive-features docker_rumtime,ecs_runtime,maelstrom_runtime,embedded_runtime

@shadaj shadaj force-pushed the no-required-tokio-dep branch from f231534 to 85ca216 Compare June 19, 2026 01:52
Base automatically changed from remove-tokio-dep-sinktools to main June 19, 2026 17:36
@shadaj shadaj force-pushed the no-required-tokio-dep branch from 85ca216 to 86bf036 Compare June 19, 2026 18:52
@shadaj shadaj force-pushed the no-required-tokio-dep branch from 86bf036 to 4b7e1e1 Compare June 19, 2026 19:11
@shadaj shadaj marked this pull request as ready for review June 19, 2026 19:13
@shadaj shadaj requested review from a team and MingweiSamuel June 19, 2026 19:13
@shadaj shadaj force-pushed the no-required-tokio-dep branch from 4b7e1e1 to 75ae1ce Compare June 19, 2026 19:24
@shadaj shadaj force-pushed the no-required-tokio-dep branch from 75ae1ce to 11099af Compare June 19, 2026 19:51
@shadaj shadaj force-pushed the no-required-tokio-dep branch from 11099af to 3222731 Compare June 19, 2026 20:46
@shadaj shadaj changed the title fix(hydro_lang,dfir_rs): place Tokio dependencies behind a feature flag feat(hydro_lang,dfir_rs)!: place Tokio dependencies behind a feature flag Jun 19, 2026
Comment on lines +35 to +42
#[cfg_attr(
docsrs,
doc(cfg(any(
feature = "deploy",
feature = "deploy_integration",
feature = "embedded_runtime"
)))
)]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we can remove cfg_attr now, they updated it to be included automatically. Can do that in a new pr

shadaj and others added 2 commits June 19, 2026 14:38
Added `features` field and `.features()` / `.feature()` builder methods to
`DockerDeployProcessSpec` and `DockerDeployClusterSpec`, matching the API
available on `TrybuildHost`. Features are threaded through to the `RustCrate`
at compile time during `instantiate()`.

Co-authored-by: Infinity 🤖 <infinity@hydro.run>
PR: #2973
@shadaj shadaj force-pushed the no-required-tokio-dep branch from 3222731 to bb5a9de Compare June 19, 2026 21:38
@shadaj shadaj changed the base branch from main to sandbox-7d0b037a-e634-4cf4-996c-099e82e0a733 June 19, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants