mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
20b485bcfe
* feat: allow inserting fields before or after a certain field * fix: tauri build * chore: implement frontend * test: rust-lib tests * test: integration test * chore: point to temp collab rev * chore: bump collab rev * chore: fix tauri build * chore: fix the tauri build, for real this time * fix: new field editor show detail not general --------- Co-authored-by: nathan <nathan@appflowy.io>
78 lines
3.2 KiB
TOML
78 lines
3.2 KiB
TOML
[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]
|
|
tauri-build = { version = "1.2", features = [] }
|
|
|
|
[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"
|
|
chrono = { version = "0.4.31", default-features = false, features = ["clock"] }
|
|
lru = "0.12.0"
|
|
|
|
[dependencies]
|
|
serde_json.workspace = true
|
|
serde.workspace = true
|
|
tauri = { version = "1.2", features = ["fs-all", "shell-open"] }
|
|
tauri-utils = "1.2"
|
|
bytes.workspace = true
|
|
tracing.workspace = true
|
|
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"] }
|
|
uuid = "1.5.0"
|
|
|
|
[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"]
|
|
|
|
[patch.crates-io]
|
|
# 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
|
|
# ⚠️⚠️⚠️️
|
|
client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "5090711272dbc503912544375307365c174bb804" }
|
|
# Please use the following script to update collab.
|
|
# Working directory: frontend
|
|
#
|
|
# To update the commit ID, run:
|
|
# scripts/tool/update_collab_rev.sh new_rev_id
|
|
#
|
|
# To switch to the local path, run:
|
|
# scripts/tool/update_collab_source.sh
|
|
# ⚠️⚠️⚠️️
|
|
collab = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "a462a49facbf3682717c3074b14fd29f19276e28" }
|
|
collab-folder = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "a462a49facbf3682717c3074b14fd29f19276e28" }
|
|
collab-document = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "a462a49facbf3682717c3074b14fd29f19276e28" }
|
|
collab-database = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "a462a49facbf3682717c3074b14fd29f19276e28" }
|
|
collab-plugins = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "a462a49facbf3682717c3074b14fd29f19276e28" }
|
|
collab-user = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "a462a49facbf3682717c3074b14fd29f19276e28" }
|
|
collab-entity = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "a462a49facbf3682717c3074b14fd29f19276e28" }
|
|
collab-persistence = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "a462a49facbf3682717c3074b14fd29f19276e28" }
|