@ondeinference / ed Mirror · read-only
Fork 0

Read-only mirror of github.com/ondeinference/ed.

Mirrored from https://github.com/ondeinference/ed.git

Synced Nov 23, 01:00 UTC

development
toml 85 lines 3.58 KB
Raw
1 [workspace]
2 resolver = "2"
3 members = [
4 "crates/ed-agent",
5 "crates/ed-agent-ffi",
6 "crates/ed-agent-tauri",
7 "crates/ed-mcp",
8 "crates/ed-acp",
9 "crates/ed-acp-tauri",
10 "crates/ed-acp-tui",
11 "crates/ed-acp-testkit",
12 "crates/ed-onde-account",
13 "crates/ed-claude",
14 "uniffi-bindgen",
15 ]
16 # Built only for wasm32 with its own lockfile: see examples/web-chat/README.md.
17 exclude = ["examples/web-chat"]
18
19 # Shared across every crate in the workspace so a release moves one number.
20 # `sync-version` tooling (see the Makefile) reads these.
21 [workspace.package]
22 version = "1.5.0"
23 edition = "2021"
24 rust-version = "1.94"
25 license = "MIT OR Apache-2.0"
26 authors = ["Onde Inference"]
27 repository = "https://github.com/ondeinference/ed"
28 homepage = "https://ondeinference.com"
29
30 [workspace.dependencies]
31 # The inference engine Ed wraps, resolved from crates.io like any dependency
32 # (there is no path override to a sibling checkout). 1.5.0 is the first release
33 # with a real engine on wasm32-unknown-unknown, so ed-agent runs a model in the
34 # browser as well as compiling there. ChatEngine::complete, which ed-acp's
35 # local provider calls, arrived in 1.3.2.
36 onde = { version = "1.5.0" }
37 async-trait = "0.1"
38 serde = { version = "1", features = ["derive"] }
39 serde_json = "1"
40 log = "0.4"
41 thiserror = "2"
42 tokio = { version = "1", features = ["sync", "rt"] }
43 tauri = { version = "2", features = [] }
44 # Must match on the uniffi version `onde` is built with (=0.31.0). The
45 # bindgen extracts metadata that every crate in the staticlib embeds; mixed
46 # versions break extraction with "Invalid string data" errors.
47 uniffi = { version = "=0.31.0", features = ["tokio"] }
48 smbcloud-gresiq-sdk = "0.4.7"
49
50 # Onde Agent Platform v0.1 baseline (onde-web .agents/specs/onde-agent-platform, §5.4).
51 # The ACP crates (ed-mcp, ed-acp, ed-acp-tui, ed-acp-testkit) use these; ed-agent does not.
52 agent-client-protocol = "2.2"
53 rmcp = { version = "3.5", default-features = false }
54 reqwest = { version = "0.13", default-features = false, features = ["json", "stream"] }
55 ratatui = { version = "0.30.2", default-features = false, features = ["crossterm", "layout-cache", "unstable-rendered-line-info"] }
56 crossterm = { version = "0.29", features = ["event-stream"] }
57 tokio-util = "0.7"
58 futures = "0.3"
59 anyhow = "1"
60 tracing = "0.1"
61 tracing-subscriber = { version = "0.3", features = ["env-filter"] }
62 uuid = { version = "1", features = ["v4"] }
63 directories = "6"
64 base64 = "0.23"
65
66 # Internal
67 ed-agent = { version = "1.5.0", path = "crates/ed-agent" }
68 ed-mcp = { version = "1.5.0", path = "crates/ed-mcp" }
69 ed-acp = { version = "1.5.0", path = "crates/ed-acp" }
70 ed-acp-tauri = { version = "1.5.0", path = "crates/ed-acp-tauri" }
71 ed-acp-tui = { version = "1.5.0", path = "crates/ed-acp-tui" }
72 ed-acp-testkit = { version = "1.5.0", path = "crates/ed-acp-testkit" }
73 ed-onde-account = { version = "1.5.0", path = "crates/ed-onde-account" }
74 ed-claude = { version = "1.5.0", path = "crates/ed-claude" }
75
76 # gemm-common (via candle, via onde) depends on sysctl for every
77 # `target_vendor = "apple"`, but sysctl 0.6.0 only has a `sys` module behind
78 # macOS/iOS/tvOS/visionOS/freeBSD — the watchOS build fails to resolve it. onde
79 # carries this same patch, but `[patch]` is only honoured from the manifest of
80 # the workspace being built, so depending on onde does not inherit it: Ed has to
81 # repeat it. The branch is cut from sysctl 0.6.0 rather than the fork's master
82 # (0.7.1) because a patch that is semver-incompatible with the requirement in
83 # the graph is silently ignored.
84 [patch.crates-io]
85 sysctl = { git = "https://github.com/setoelkahfi/sysctl-rs.git", branch = "feature/watchos-0.6" }