MCPcopy Index your code
hub / github.com/BonsaiDen/cobalt-rs

github.com/BonsaiDen/cobalt-rs @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
224 symbols 748 edges 24 files 83 documented · 37%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Socket (Interface)
Trait describing a non-blocking low latency socket. [2 implementers]
src/traits/socket.rs
PacketModifier (Interface)
Trait describing optional per-packet payload modification logic. [2 implementers]
src/traits/packet_modifier.rs
RateLimiter (Interface)
Trait describing a network congestion avoidance algorithm. [1 implementers]
src/traits/rate_limiter.rs

Core symbols most depended-on inside this repo

send
called by 73
src/shared/connection.rs
socket
called by 45
src/server.rs
receive_packet
called by 43
src/shared/connection.rs
send_packet
called by 38
src/shared/connection.rs
connection
called by 24
src/server.rs
events
called by 18
src/shared/connection.rs
listen
called by 12
src/server.rs
peer_addr
called by 12
src/shared/connection.rs

Shape

Method 108
Function 88
Class 18
Enum 7
Interface 3

Languages

Rust100%

Modules by API surface

src/shared/connection.rs32 symbols
src/test/connection.rs25 symbols
src/shared/message_queue.rs21 symbols
src/test/client.rs19 symbols
src/server.rs17 symbols
src/test/server.rs16 symbols
src/test/mock_socket.rs16 symbols
src/client.rs16 symbols
src/test/message_queue.rs15 symbols
src/shared/binary_rate_limiter.rs11 symbols
src/shared/stats.rs10 symbols
src/shared/ticker.rs7 symbols

For agents

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

⬇ download graph artifact