Skip to content

Commit 67f8e9a

Browse files
authored
Merge pull request #24 from TheSimpleAIProject/backend-lib
Backend lib
2 parents 7cca477 + adfb01f commit 67f8e9a

File tree

31 files changed

+578
-116
lines changed

31 files changed

+578
-116
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@ name: Rust
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [ "main", "dev" ]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: [ "main", "dev" ]
88

99
env:
1010
CARGO_TERM_COLOR: always
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
1615

1716
steps:
1817
- uses: actions/checkout@v4
18+
- name: Install system packages
19+
run: sudo apt-get install libglib2.0-dev libgtk-3-dev libsoup-3.0
1920
- name: Build
20-
run: cargo build --verbose
21+
run: cargo build --release --features "desktop"
2122
- name: Run tests
2223
run: cargo test --verbose

extern/backend/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ sha2 = { version = "0.10.8" }
2121
uuid = { version = "1.15.1", features = ["v4"] }
2222
bincode = { version = "1.1.3" }
2323
tokio = { version = "1.43.0", features = ["sync"] }
24+
fuzzy-matcher = "0.3.7"
25+
walkdir = "2.5.0"
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name = "bundled_node"
22
description = "A bundled node"
33
author = "Author"
4-
date = "2025-03-05T19:02:06.992970322Z"
5-
impls = [[{ deps = [] }, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"]]
4+
date = "2025-03-10T12:33:26.326778746Z"
5+
6+
[[versions]]
7+
version = "0.0.1"
8+
9+
[versions.env]
10+
deps = []
Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
name = "complex_bundled_node"
22
description = "A complex bundled node"
33
author = "Author"
4-
date = "2025-03-05T19:02:06.992988239Z"
5-
impls = [[{ deps = [{ name = "serde", versions = ["1.0"], lib = true }] }, "347d4e7d76b463a7b8415486415c698bf2c792ee6384f96eca96e1d45a2f3986"]]
4+
date = "2025-03-10T12:33:26.326848257Z"
5+
6+
[[versions]]
7+
version = "0.0.1"
8+
9+
[[versions.env.deps]]
10+
name = "serde"
11+
versions = ["1.0"]
12+
lib = true
13+
14+
[[versions]]
15+
version = "0.0.2"
16+
17+
[[versions.env.deps]]
18+
name = "serde"
19+
versions = ["1.0"]
20+
lib = true
21+
22+
[[versions.env.deps]]
23+
name = "torch"
24+
versions = ["2.0"]
25+
lib = true

0 commit comments

Comments
 (0)