Add WebDAV configuration, credential storage/testing, and sync controls across Flutter UI and Rust API. This implements a stateful Settings screen with fields to enter server URL, username, and password, plus Test and Save actions; persist/load credentials and workspace WebDAV URL via the Rust API; add sync mode selection, a Sync Now action, and a sync status indicator in Tasks screen; thread has_time through date/time pickers, new task creation, task detail updates, and task DTOs; implement async Rust functions for testing connections, storing/loading credentials, setting workspace WebDAV config, and triggering workspace sync with a SyncResult mapped back to Flutter; add tokio runtime dependency. These changes were needed to enable full WebDAV-based synchronization and provide users controls and feedback for configuring and running syncs from the Flutter app.
18 lines
420 B
TOML
18 lines
420 B
TOML
[package]
|
|
name = "onyx-flutter"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "staticlib"]
|
|
|
|
[dependencies]
|
|
flutter_rust_bridge = "=2.11.1"
|
|
onyx-core = { path = "../../../crates/onyx-core" }
|
|
uuid = { version = "1", features = ["serde", "v4"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
once_cell = "1"
|
|
notify = "7"
|
|
notify-debouncer-mini = "0.5"
|
|
tokio = { version = "1", features = ["full"] }
|