2023-01-17 08:27:17 +00:00
|
|
|
[package]
|
|
|
|
name = "appflowy_tauri"
|
|
|
|
version = "0.0.0"
|
|
|
|
description = "A Tauri App"
|
|
|
|
authors = ["you"]
|
|
|
|
license = ""
|
|
|
|
repository = ""
|
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.57"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[build-dependencies]
|
2023-11-30 16:11:43 +00:00
|
|
|
tauri-build = { version = "1.5", features = [] }
|
2023-01-17 08:27:17 +00:00
|
|
|
|
2023-11-12 13:18:27 +00:00
|
|
|
[workspace.dependencies]
|
|
|
|
anyhow = "1.0.75"
|
|
|
|
tracing = "0.1.40"
|
|
|
|
bytes = "1.5.0"
|
|
|
|
serde = "1.0.108"
|
|
|
|
serde_json = "1.0.108"
|
|
|
|
protobuf = { version = "2.28.0" }
|
|
|
|
diesel = { version = "1.4.8", features = ["sqlite", "chrono"] }
|
|
|
|
uuid = { version = "1.5.0", features = ["serde", "v4"] }
|
|
|
|
serde_repr = "0.1"
|
|
|
|
parking_lot = "0.12"
|
|
|
|
futures = "0.3.29"
|
|
|
|
tokio = "1.34.0"
|
|
|
|
tokio-stream = "0.1.14"
|
|
|
|
async-trait = "0.1.74"
|
2023-11-30 16:11:43 +00:00
|
|
|
chrono = { version = "0.4.31", default-features = false, features = ["clock"] }
|
2023-11-14 06:01:46 +00:00
|
|
|
lru = "0.12.0"
|
2023-11-12 13:18:27 +00:00
|
|
|
|
2023-01-17 08:27:17 +00:00
|
|
|
[dependencies]
|
2023-11-12 13:18:27 +00:00
|
|
|
serde_json.workspace = true
|
|
|
|
serde.workspace = true
|
2023-11-30 16:11:43 +00:00
|
|
|
tauri = { version = "1.5", features = ["fs-all", "shell-open"] }
|
|
|
|
tauri-utils = "1.5"
|
2023-11-12 13:18:27 +00:00
|
|
|
bytes.workspace = true
|
|
|
|
tracing.workspace = true
|
2023-10-02 09:22:22 +00:00
|
|
|
lib-dispatch = { path = "../../rust-lib/lib-dispatch", features = ["use_serde"] }
|
|
|
|
flowy-core = { path = "../../rust-lib/flowy-core", features = ["rev-sqlite", "ts"] }
|
|
|
|
flowy-notification = { path = "../../rust-lib/flowy-notification", features = ["ts"] }
|
2023-11-20 12:54:47 +00:00
|
|
|
uuid = "1.5.0"
|
2023-01-17 08:27:17 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
# by default Tauri runs in production mode
|
|
|
|
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
|
|
|
|
default = ["custom-protocol"]
|
|
|
|
# this feature is used used for production builds where `devPath` points to the filesystem
|
|
|
|
# DO NOT remove this
|
|
|
|
custom-protocol = ["tauri/custom-protocol"]
|
2023-04-04 00:41:16 +00:00
|
|
|
|
|
|
|
[patch.crates-io]
|
2023-10-02 09:22:22 +00:00
|
|
|
# Please using the following command to update the revision id
|
|
|
|
# Current directory: frontend
|
|
|
|
# Run the script:
|
|
|
|
# scripts/tool/update_client_api_rev.sh new_rev_id
|
|
|
|
# ⚠️⚠️⚠️️
|
2023-12-18 20:36:24 +00:00
|
|
|
client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "5c1a16cec52e628e2fb7648455581d6fe5e84be1" }
|
2023-09-24 07:50:58 +00:00
|
|
|
# Please use the following script to update collab.
|
|
|
|
# Working directory: frontend
|
|
|
|
#
|
|
|
|
# To update the commit ID, run:
|
2023-10-02 09:22:22 +00:00
|
|
|
# scripts/tool/update_collab_rev.sh new_rev_id
|
2023-09-24 07:50:58 +00:00
|
|
|
#
|
|
|
|
# To switch to the local path, run:
|
|
|
|
# scripts/tool/update_collab_source.sh
|
2023-09-17 09:14:34 +00:00
|
|
|
# ⚠️⚠️⚠️️
|
2023-12-18 20:36:24 +00:00
|
|
|
collab = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0e117f568bd2465762582f6aeb8d9c11fe714e63" }
|
|
|
|
collab-folder = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0e117f568bd2465762582f6aeb8d9c11fe714e63" }
|
|
|
|
collab-document = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0e117f568bd2465762582f6aeb8d9c11fe714e63" }
|
|
|
|
collab-database = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0e117f568bd2465762582f6aeb8d9c11fe714e63" }
|
|
|
|
collab-plugins = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0e117f568bd2465762582f6aeb8d9c11fe714e63" }
|
|
|
|
collab-user = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0e117f568bd2465762582f6aeb8d9c11fe714e63" }
|
|
|
|
collab-entity = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0e117f568bd2465762582f6aeb8d9c11fe714e63" }
|
|
|
|
collab-persistence = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0e117f568bd2465762582f6aeb8d9c11fe714e63" }
|
2023-11-28 23:49:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|