1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//! High-level client bindings for the Corsa stdio API.
//!
//! This crate wraps the raw transports and endpoint naming used by Corsa
//! behind typed request/response helpers. In practice it is the main entry
//! point when you want to:
//!
//! - spawn a Corsa worker process
//! - initialize it once and reuse the session
//! - create and reuse snapshots
//! - ask type, symbol, and syntax questions through strongly typed helpers
//! - attach filesystem callbacks for overlay-like workflows
//!
//! # Main Building Blocks
//!
//! - [`ApiClient`] manages a single worker process or pipe connection.
//! - [`ApiSpawnConfig`] describes how that worker should be started.
//! - [`ManagedSnapshot`] keeps snapshot handles alive and releases them on drop.
//! - [`ApiProfile`] gives orchestrators a stable name for a spawn configuration.
//!
//! # Performance Model
//!
//! `corsa` does not try to out-compile Corsa itself. The win comes from
//! session reuse, snapshot reuse, and cheaper transports such as sync msgpack.
//! For docs and benchmarks around that trade-off, see the workspace guides.
/// Re-exports shared error types used by the client APIs.
/// Re-exports low-level JSON-RPC helpers used by the stdio client transport.
/// Re-exports process-spawning primitives used to launch Corsa.
/// Re-exports structured operational events used by the client configs.
/// Re-exports shared LSP model types used by editor-style API responses.
pub use ;
/// Typed bindings for the Corsa stdio API surface.
pub use *;