Skip to content

Commit

Permalink
feat: rewrite storing data in sqlite instead of file
Browse files Browse the repository at this point in the history
  • Loading branch information
Xstoudi committed Aug 7, 2023
1 parent 7d0959d commit ca1f113
Show file tree
Hide file tree
Showing 68 changed files with 870 additions and 1,045 deletions.
66 changes: 63 additions & 3 deletions package-lock.json

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

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,29 @@
"@radix-ui/react-form": "^0.0.3",
"@radix-ui/react-select": "^1.2.2",
"@radix-ui/react-switch": "^1.0.3",
"@tanstack/react-query": "^4.32.6",
"@tauri-apps/api": "^1.4.0",
"clsx": "^1.2.1",
"immer": "^10.0.2",
"js-xxhash": "^2.0.0",
"jszip": "^3.10.1",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.10.1",
"react-router-dom": "^6.13.0",
"react-use": "^17.4.0",
"sanitize-html": "^2.11.0",
"tauri-plugin-autostart-api": "github:tauri-apps/tauri-plugin-autostart#v1",
"tauri-plugin-sql-api": "github:tauri-apps/tauri-plugin-sql#v1"
"tauri-plugin-sql-api": "github:tauri-apps/tauri-plugin-sql#v1",
"tauri-plugin-store-api": "github:tauri-apps/tauri-plugin-store#v1"
},
"devDependencies": {
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@simbathesailor/use-what-changed": "^2.0.0",
"@tauri-apps/cli": "^1.4.0",
"@types/lodash": "^4.14.196",
"@types/node": "^18.7.10",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
Expand Down
63 changes: 58 additions & 5 deletions src-tauri/Cargo.lock

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

10 changes: 8 additions & 2 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,22 @@ edition = "2021"
tauri-build = { version = "1.4", features = [] }

[dependencies]
tauri = { version = "1.4", features = [ "cli", "updater", "system-tray", "path-all", "fs-all", "window-start-dragging", "window-maximize", "window-hide", "window-close", "window-unminimize", "window-show", "window-unmaximize", "shell-open", "window-minimize"] }
tauri = { version = "1.4", features = ["cli", "updater", "system-tray", "path-all", "fs-all", "window-start-dragging", "window-maximize", "window-hide", "window-close", "window-unminimize", "window-show", "window-unmaximize", "shell-open", "window-minimize"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
reqwest = { version = "0.11", features = ["blocking", "json"] }
reqwest = { version = "0.11", features = ["json"] }
chrono = "0.4.26"
feed-rs = "1.3.0"
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
tauri-plugin-autostart = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
tauri-plugin-sql = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1", features = ["sqlite"] }
tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
include_dir = { version = "0.7.3", features = ["glob"] }
itertools = "0.11.0"
sqlx = { version = "0.7", features = ["runtime-tokio", "tls-rustls", "time", "sqlite"] }
tokio = { version = "1", features = ["sync"] }
xxhash-rust = { version = "0.8.6", features = ["xxh32"] }
tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }

[features]
# this feature is used for production builds or when `devPath` points to the filesystem
Expand Down

0 comments on commit ca1f113

Please sign in to comment.