MCPcopy Index your code
hub / github.com/carllerche/eventual

github.com/carllerche/eventual @v0.1.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.7 ↗ · + Follow
377 symbols 1,646 edges 37 files 60 documented · 16%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Eventual - Futures & Streams for Rust

Eventual provides a Future & Stream abstraction for Rust as well as a number of computation builders to operate on them.

Build Status

Usage

To use Eventual, first add this to your Cargo.toml:

[dependencies.eventual]
git = "https://github.com/carllerche/eventual"

Then, add this to your crate root:

extern crate eventual;

Extension points exported contracts — how you extend this code

Async (Interface)
A value representing an asynchronous computation [7 implementers]
src/lib.rs
Partial (Interface)
Stores the values as they are completed, before the join succeeds [3 implementers]
src/join.rs
Select (Interface)
(no doc) [2 implementers]
src/select.rs
Source (Interface)
(no doc) [2 implementers]
src/stream.rs
Cancel (Interface)
(no doc) [6 implementers]
src/lib.rs
Join (Interface)
(no doc) [3 implementers]
src/join.rs
Values (Interface)
(no doc) [2 implementers]
src/select.rs
BoxedReceive (Interface)
Needed to allow virtual dispatch to Receive [1 implementers]
src/lib.rs

Core symbols most depended-on inside this repo

unwrap
called by 138
src/lib.rs
send
called by 100
src/stream.rs
receive
called by 93
src/lib.rs
complete
called by 69
src/core.rs
new
called by 68
src/receipt.rs
fail
called by 30
src/stream.rs
expect
called by 30
src/lib.rs
and_then
called by 29
src/lib.rs

Shape

Method 213
Function 127
Class 26
Interface 9
Enum 2

Languages

Rust100%

Modules by API surface

src/core.rs70 symbols
src/stream.rs43 symbols
src/select.rs32 symbols
src/lib.rs29 symbols
src/process.rs27 symbols
src/future.rs24 symbols
test/test_future_receive.rs18 symbols
src/join.rs15 symbols
test/test_stream_receive.rs13 symbols
src/sequence.rs12 symbols
test/test_stream_process.rs11 symbols
test/test_future_await.rs10 symbols

For agents

$ claude mcp add eventual \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page