AFFiNE/apps/desktop/src-tauri/Cargo.toml

51 lines
1.5 KiB
TOML
Raw Normal View History

2023-01-04 12:16:26 +03:00
[package]
name = "AFFiNE"
version = "0.0.0"
description = "Development Tool for BlockSuite"
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-01-31 17:29:21 +03:00
tauri-build = { version = "1.2", features = [] }
2023-01-04 12:16:26 +03:00
[dependencies]
bytes = "1.3.0"
ipc_types = { path = "./types" }
futures = "^0.3.25"
js-sys = "0.3.60"
jwst = { path = "../src-OctoBase/libs/jwst" }
2023-01-31 17:29:21 +03:00
jwst-storage = { path = "../src-OctoBase/libs/jwst-storage", features = [
"sqlite",
] }
cloud-database = { path = "../src-OctoBase/libs/cloud-database", features = [
"sqlite",
] }
2023-01-04 12:16:26 +03:00
project-root = "0.2.2"
schemars = "0.8.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
dotenvy = "0.15.6"
2023-01-31 17:29:21 +03:00
tauri = { version = "1.2", features = ["api-all", "devtools"] }
2023-01-04 12:16:26 +03:00
tokio = { version = "1.23.0", features = ["rt", "macros"] }
2023-01-31 17:29:21 +03:00
lib0 = "0.12.0"
moka = { version = "0.9.6", features = ["future"] }
2023-01-12 12:34:06 +03:00
yrs = { path = "../src-OctoBase/libs/vendors/y-crdt/yrs" }
y-sync = { path = "../src-OctoBase/libs/vendors/y-sync" }
2023-01-04 12:16:26 +03: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
2023-01-31 17:29:21 +03:00
default = ["custom-protocol"]
2023-01-04 12:16:26 +03:00
# this feature is used used for production builds where `devPath` points to the filesystem
# DO NOT remove this
2023-01-31 17:29:21 +03:00
custom-protocol = ["tauri/custom-protocol"]
2023-01-04 12:16:26 +03:00
[profile.release.package.wry]
debug = true
debug-assertions = true