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]
|
2024-01-16 18:59:15 +00:00
|
|
|
anyhow = "1.0"
|
2023-11-12 13:18:27 +00:00
|
|
|
tracing = "0.1.40"
|
|
|
|
bytes = "1.5.0"
|
2024-01-22 05:34:15 +00:00
|
|
|
serde = "1.0"
|
2023-11-12 13:18:27 +00:00
|
|
|
serde_json = "1.0.108"
|
|
|
|
protobuf = { version = "2.28.0" }
|
2023-12-23 15:27:15 +00:00
|
|
|
diesel = { version = "2.1.0", features = ["sqlite", "chrono", "r2d2"] }
|
2023-11-12 13:18:27 +00:00
|
|
|
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-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
|
2024-03-14 01:35:45 +00:00
|
|
|
tauri = { version = "1.5", features = [
|
|
|
|
"dialog-all",
|
2024-02-05 05:52:59 +00:00
|
|
|
"clipboard-all",
|
|
|
|
"fs-all",
|
|
|
|
"shell-open",
|
|
|
|
] }
|
2024-01-16 18:59:15 +00:00
|
|
|
tauri-utils = "1.5.2"
|
2023-11-12 13:18:27 +00:00
|
|
|
bytes.workspace = true
|
|
|
|
tracing.workspace = true
|
2024-02-05 05:52:59 +00:00
|
|
|
lib-dispatch = { path = "../../rust-lib/lib-dispatch", features = [
|
|
|
|
"use_serde",
|
|
|
|
] }
|
|
|
|
flowy-core = { path = "../../rust-lib/flowy-core", features = [
|
|
|
|
"rev-sqlite",
|
|
|
|
"ts",
|
|
|
|
] }
|
2024-01-29 21:36:27 +00:00
|
|
|
flowy-user = { path = "../../rust-lib/flowy-user", features = ["tauri_ts"] }
|
|
|
|
flowy-config = { path = "../../rust-lib/flowy-config", features = ["tauri_ts"] }
|
|
|
|
flowy-date = { path = "../../rust-lib/flowy-date", features = ["tauri_ts"] }
|
2024-02-05 05:52:59 +00:00
|
|
|
flowy-error = { path = "../../rust-lib/flowy-error", features = [
|
|
|
|
"impl_from_sqlite",
|
|
|
|
"impl_from_dispatch_error",
|
|
|
|
"impl_from_appflowy_cloud",
|
|
|
|
"impl_from_reqwest",
|
|
|
|
"impl_from_serde",
|
|
|
|
"tauri_ts",
|
|
|
|
] }
|
|
|
|
flowy-document = { path = "../../rust-lib/flowy-document", features = [
|
|
|
|
"tauri_ts",
|
|
|
|
] }
|
|
|
|
flowy-notification = { path = "../../rust-lib/flowy-notification", features = [
|
|
|
|
"tauri_ts",
|
|
|
|
] }
|
2024-03-15 12:29:00 +00:00
|
|
|
|
2023-11-20 12:54:47 +00:00
|
|
|
uuid = "1.5.0"
|
2024-03-15 12:29:00 +00:00
|
|
|
tauri-plugin-deep-link = "0.1.2"
|
|
|
|
dotenv = "0.15.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]
|
2024-04-02 07:14:45 +00:00
|
|
|
yrs = { git = "https://github.com/appflowy/y-crdt", rev = "3f25bb510ca5274e7657d3713fbed41fb46b4487" }
|
|
|
|
|
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
|
|
|
|
# ⚠️⚠️⚠️️
|
2024-04-04 02:56:10 +00:00
|
|
|
client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "aa4df32f6d3b53bec5e3715f5abfe4fb9079021b" }
|
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
|
|
|
# ⚠️⚠️⚠️️
|
2024-04-03 07:43:19 +00:00
|
|
|
collab = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "bb25e76d08d1fc99d5044907aa6fe1e8eabd41d4" }
|
|
|
|
collab-folder = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "bb25e76d08d1fc99d5044907aa6fe1e8eabd41d4" }
|
|
|
|
collab-document = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "bb25e76d08d1fc99d5044907aa6fe1e8eabd41d4" }
|
|
|
|
collab-database = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "bb25e76d08d1fc99d5044907aa6fe1e8eabd41d4" }
|
|
|
|
collab-plugins = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "bb25e76d08d1fc99d5044907aa6fe1e8eabd41d4" }
|
|
|
|
collab-user = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "bb25e76d08d1fc99d5044907aa6fe1e8eabd41d4" }
|
|
|
|
collab-entity = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "bb25e76d08d1fc99d5044907aa6fe1e8eabd41d4" }
|