mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
55c97b56a3
* refactor: user manager * refactor: user manager * refactor: session location * refactor: user manager * chore: gen ts files * feat: implement indexeddb persistence * chore: integrate user manager * chore: update * chore: run on web thread * chore: run on web thread * chore: fix test * chore: add test * chore: add test * chore: add user & sign in with password * chore: fix test * chore: update docs * chore: fix warnings * chore: gen files * chore: add user * chore: add files * chore: update config * chore: update scirpt * chore: update scirpt * fix: build * chore: update command * fix: ci * ci: fix * fix: compile * fix: compile * fix: ci * fix: compile * fix: tauri build * chore: fix test * chore: fix test
49 lines
1.3 KiB
TOML
49 lines
1.3 KiB
TOML
[package]
|
|
name = "lib-dispatch"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
pin-project = "1.0"
|
|
futures-core = { version = "0.3", default-features = false }
|
|
futures-channel = "0.3.26"
|
|
futures.workspace = true
|
|
futures-util = "0.3.26"
|
|
bytes = {version = "1.4", features = ["serde"]}
|
|
tokio = { workspace = true, features = ["rt", "sync"] }
|
|
nanoid = "0.4.0"
|
|
|
|
dyn-clone = "1.0"
|
|
derivative = "2.2.0"
|
|
serde_json = { workspace = true, optional = true }
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
|
serde_repr = { workspace = true, optional = true }
|
|
validator = "0.16.1"
|
|
tracing.workspace = true
|
|
parking_lot = "0.12"
|
|
bincode = { version = "1.3", optional = true}
|
|
protobuf = { workspace = true, optional = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
thread-id = "3.3.0"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
getrandom = { version = "0.2", features = ["js"]}
|
|
wasm-bindgen = { version = "0.2.89" }
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["rt"] }
|
|
futures-util = "0.3.26"
|
|
|
|
[features]
|
|
default = ["use_protobuf"]
|
|
use_serde = ["bincode", "serde_json", "serde", "serde_repr"]
|
|
use_protobuf= ["protobuf"]
|
|
|
|
|