mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-12-03 20:41:50 +01:00
First crate seam of 4.0. `pdfs-core/src/db` and `cache.rs` move unchanged
into a new `pdfs-store` crate; `pdfs-core` keeps configuration, the control
protocol and the shared types, and no longer opens SQLite itself.
- `Pin` is a control-protocol type, so it moves to `pdfs_core::control`;
`pdfs_store::cache` re-exports it. The GUI still depends on core alone.
- `Access::as_db_str`/`from_db_str` become public for the store.
- `pdfs-fuse` and `pdfs-cli` depend on `pdfs-store`; imports change from
`pdfs_core::{db,cache}` to `pdfs_store::{db,cache}`.
Test counts are unchanged: pdfs-core 208 plus pdfs-store 277 is the 485
pdfs-core had before.
23 lines
588 B
TOML
23 lines
588 B
TOML
[package]
|
|
name = "pdfs-store"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
description = "SQLite metadata and the content cache for the Proton Drive Linux client"
|
|
|
|
[dependencies]
|
|
pdfs-core.workspace = true
|
|
proton-drive-rs.workspace = true
|
|
proton-gallery-rs.workspace = true
|
|
rusqlite.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tracing.workspace = true
|
|
parking_lot.workspace = true
|
|
sha2.workspace = true
|
|
libc.workspace = true
|