2023-01-04 12:16:26 +03:00
|
|
|
[package]
|
2023-02-10 19:44:00 +03:00
|
|
|
name = "affine-client"
|
|
|
|
version = "0.0.1"
|
|
|
|
description = "Multiple platform client for AFFiNE"
|
|
|
|
authors = [
|
|
|
|
"linonetwo <linonetwo012@gmail.com>",
|
|
|
|
"DarkSky <darksky2048@gmail.com>",
|
|
|
|
]
|
|
|
|
license = "MPL-2.0"
|
|
|
|
repository = "https://github.com/toeverything/AFFiNE"
|
2023-01-04 12:16:26 +03:00
|
|
|
edition = "2021"
|
|
|
|
|
2023-02-10 19:44:00 +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
|
|
|
|
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-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"
|
2023-02-10 19:44:00 +03:00
|
|
|
jwst = { git = "https://github.com/toeverything/OctoBase", rev = "5f1162b" }
|
|
|
|
jwst-storage = { git = "https://github.com/toeverything/OctoBase", rev = "5f1162b", features = [
|
2023-01-31 17:29:21 +03:00
|
|
|
"sqlite",
|
|
|
|
] }
|
2023-02-10 19:44:00 +03:00
|
|
|
cloud-database = { git = "https://github.com/toeverything/OctoBase", rev = "5f1162b", features = [
|
2023-01-31 17:29:21 +03:00
|
|
|
"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"
|
2023-01-04 16:04:06 +03:00
|
|
|
dotenvy = "0.15.6"
|
2023-03-01 07:37:53 +03:00
|
|
|
tauri = { version = "1.2", features = ["api-all", "devtools", "system-tray"] }
|
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"
|
2023-02-03 05:55:56 +03:00
|
|
|
moka = { version = "0.9.6", features = ["future"] }
|
2023-02-10 19:44:00 +03:00
|
|
|
y-sync = "0.1.0"
|
|
|
|
yrs = "=0.12.0"
|
2023-01-04 12:16:26 +03:00
|
|
|
|
2023-02-10 19:44:00 +03:00
|
|
|
[build-dependencies]
|
|
|
|
tauri-build = { version = "1.2", features = [] }
|
|
|
|
|
|
|
|
[patch.crates-io]
|
|
|
|
rust-embed = { git = "https://github.com/pyrossh/rust-embed", rev = "7c0fc42" }
|
|
|
|
yrs = { git = "https://github.com/toeverything/y-crdt", rev = "a1034b4" }
|
|
|
|
y-sync = { git = "https://github.com/toeverything/y-sync", rev = "e061fa3" }
|
2023-01-04 12:16:26 +03:00
|
|
|
|
|
|
|
[profile.release.package.wry]
|
|
|
|
debug = true
|
|
|
|
debug-assertions = true
|