Skip to content

async: GenRequest::async_api, Feature::Async, connections_async fixture - #80

Merged
Kinflou merged 2 commits into
masterfrom
feat/async-option-2
Oct 24, 2026
Merged

Kinflou merged 2 commits into
masterfrom
feat/async-option-2

Conversation

@Kinflou

@Kinflou Kinflou commented Oct 24, 2026

Copy link
Copy Markdown
Member

Async codegen for connection protocols (runtime#19), resumed now that target versions (#76) have shipped. Rust's floor is 1.85, so async fn in traits needs no version gate.

  • GenRequest::async_api: comline.toml's async. Feature::Async counts as used only when a protocol is on a connection and the option is on. It can be stripped, so an ignored claim can be proven.
  • Conformance:
    • fixtures carry async_api;
    • a new connections_async fixture proves Rust's claim (supported, with its golden) and TypeScript's (ignored: its output is async either way);
    • pins comline-rust 4b21074 and comline-typescript a8424c6.
  • FEATURES.md / features.json gain the async row.

Merge after the generator PRs (they pin this branch's d88f731).

Kinflou added 2 commits October 25, 2026 00:08
comline.toml's async option, for connection protocols: async handlers and
senders (Rust's AsyncConnection). A use only when a protocol is on a
connection; strippable for proving an ignored claim. Conformance fixtures
carry it.
Rust's async is proven supported by its golden; TypeScript's is ignored
(its output is async either way). Pins comline-rust 4b21074 and
comline-typescript a8424c6.
@Kinflou
Kinflou merged commit 1c608ea into master Oct 24, 2026
2 checks passed
@Kinflou
Kinflou deleted the feat/async-option-2 branch October 24, 2026 16:43
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.

1 participant