0a4a09037e
Workspace shrinks from 2 members to 1. The daemon, IPC layer, providers, config, frecency store, GTK4 UI, and CLI now live in a single `crates/owlry` crate exposing both a library (so integration tests can reach daemon types) and a binary. Structural changes: - crates/owlry-core/ deleted; all source moved into crates/owlry/src/ via git mv to preserve history - crates/owlry/src/lib.rs added with module declarations - crates/owlry/src/main.rs rewritten as thin entry that uses owlry::* - crates/owlry/src/providers/mod.rs absorbs owlry-core's providers/mod.rs and pulls dmenu into the same module tree - All owlry_core:: refs in src/ rewritten to crate:: - All owlry_core:: refs in tests/ rewritten to owlry:: - systemd/owlryd.service: ExecStart=/usr/bin/owlry -d (single binary) - justfile: drop owlry-core/owlry-lua/owlry-rune build steps; daemon runs via 'cargo run -p owlry -- -d' - owlry version: 1.0.10 -> 2.0.0-dev Tests: 178 still pass (156 lib + 14 ipc + 8 server). No test changes needed — moved files retained their inline test modules. Task #2 complete.
31 lines
589 B
TOML
31 lines
589 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/owlry",
|
|
]
|
|
|
|
# Shared workspace settings
|
|
[workspace.package]
|
|
edition = "2024"
|
|
rust-version = "1.90"
|
|
license = "GPL-3.0-or-later"
|
|
repository = "https://somegit.dev/Owlibou/owlry"
|
|
|
|
# Release profile (shared across all crates)
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
strip = true
|
|
opt-level = "z"
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = true
|
|
|
|
# For installing a testable build: cargo install --path crates/owlry --profile dev-install --features dev-logging
|
|
[profile.dev-install]
|
|
inherits = "release"
|
|
strip = false
|
|
debug = 1
|