mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: appflowy_web build (#4302)
* chore: create web folder * fix: support lib-dispatch and notification compiling to wasm * refactor: wasm * refactor: call async evnet * chore: add web ci * ci: fix * ci: fix * ci: fix --------- Co-authored-by: nathan <nathan@appflowy.io>
This commit is contained in:
@ -4,6 +4,8 @@ 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]
|
||||
chrono = { workspace = true, default-features = false, features = ["clock"] }
|
||||
@ -15,6 +17,8 @@ async-trait.workspace = true
|
||||
md5 = "0.7.0"
|
||||
anyhow.workspace = true
|
||||
walkdir = "2.4.0"
|
||||
zip = "0.6.6"
|
||||
tempfile = "3.8.1"
|
||||
validator = "0.16.0"
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
zip = "0.6.6"
|
||||
|
@ -1,7 +1,9 @@
|
||||
pub use async_trait;
|
||||
|
||||
pub mod box_any;
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub mod file_util;
|
||||
|
||||
pub mod future;
|
||||
pub mod ref_map;
|
||||
pub mod util;
|
||||
|
Reference in New Issue
Block a user