Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ jobs:
- name: Production build
run: pnpm build

# glint-core has no GUI dependencies, so it can be tested everywhere.
# glint-core and glint-recall have no GUI dependencies, so they can be
# tested everywhere. glint-recall compiles bundled SQLite, which is the point
# of running it on all three platforms.
core:
name: Core (${{ matrix.os }})
runs-on: ${{ matrix.os }}
Expand All @@ -66,6 +68,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test -p glint-core
- run: cargo test -p glint-recall

# The Tauri shell is where platform-specific code actually breaks. Linux is
# the mainline; Windows/macOS are checked but not yet shipped.
Expand Down
92 changes: 92 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
[workspace]
resolver = "2"
members = ["crates/glint-core", "crates/glint-cli", "src-tauri"]
members = [
"crates/glint-core",
"crates/glint-cli",
"crates/glint-recall",
"src-tauri",
]
# Keep the default check fast: the Tauri shell needs GTK/WebKit development
# headers, while the core crate must stay buildable on a bare Rust toolchain.
default-members = ["crates/glint-core"]
Expand Down
18 changes: 18 additions & 0 deletions crates/glint-recall/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "glint-recall"
version = "0.1.0"
description = "Glint Recall - local turn memory and selection-time echo"
authors = ["glint-dev"]
edition = "2024"

[lib]
name = "glint_recall"
path = "src/lib.rs"

[dependencies]
rusqlite = { version = "0.40", features = ["bundled"] }
serde = { version = "1", features = ["derive"] }
thiserror = "2"

[dev-dependencies]
tempfile = "3"
Loading
Loading