-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (55 loc) · 1.86 KB
/
Cargo.toml
File metadata and controls
66 lines (55 loc) · 1.86 KB
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
58
59
60
61
62
63
64
65
66
# SPDX-License-Identifier: PMPL-1.0-or-later
#
# PanLL eNSAID — Gossamer backend
#
# This replaces the former src-tauri/ Tauri 2.0 backend with a Gossamer-native
# binary. All 103 command handlers are registered via gossamer_rs::App::command()
# instead of #[tauri::command] macros. Business logic is unchanged — only the
# IPC dispatch layer changed.
#
# The gossamer-rs crate links to libgossamer.so (Zig FFI) at runtime, providing
# the same webview + IPC channel that Tauri provided, but without the Tauri
# runtime dependency.
[package]
name = "panll"
version = "0.2.0"
description = "PanLL eNSAID - Environment for NeSy-Agentic Integrated Development (Gossamer backend)"
authors = ["Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>"]
edition = "2021"
license = "PMPL-1.0-or-later"
repository = "https://github.com/hyperpolymath/panll"
[[bin]]
name = "panll-gossamer"
path = "src-gossamer/src/main.rs"
[dependencies]
# Gossamer webview shell — replaces tauri
gossamer-rs = { path = "../gossamer/bindings/rust" }
# Serialisation — used by every command handler
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Shared state (replaces Tauri State<> extractor)
once_cell = "1"
lazy_static = "1.4.0"
# HTTP clients for service bridges (BoJ, VeriSimDB, ECHIDNA, Fleet, Hypatia, etc.)
reqwest = { version = "0.12", features = ["json", "blocking", "stream"] }
futures = "0.3"
tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread"] }
# Filesystem — dirs, watcher, walker
dirs = "6"
notify = { version = "7", features = ["serde"] }
notify-debouncer-mini = "0.5"
walkdir = "2"
# Text processing
regex = "1"
# System
libc = "0.2"
which = "7"
uuid = { version = "1.22.0", features = ["v4"] }
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt"] }
[profile.release]
panic = "abort"
codegen-units = 1
lto = true
opt-level = "s"
strip = true