2021-06-28 22:56:15 +08:00
|
|
|
[package]
|
|
|
|
name = "dart-ffi"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
|
|
name = "dart_ffi"
|
|
|
|
# this value will change depending on the target os
|
2023-12-26 02:03:42 +08:00
|
|
|
# default static library
|
2022-04-09 07:35:35 +08:00
|
|
|
crate-type = ["staticlib"]
|
2021-06-28 22:56:15 +08:00
|
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2022-09-18 09:30:59 +08:00
|
|
|
allo-isolate = { version = "^0.1", features = ["catch-unwind"] }
|
2023-03-03 20:38:31 +08:00
|
|
|
byteorder = { version = "1.4.3" }
|
2023-11-12 21:18:27 +08:00
|
|
|
protobuf.workspace = true
|
|
|
|
tokio = { workspace = true, features = ["full", "rt-multi-thread", "tracing"] }
|
|
|
|
serde.workspace = true
|
2023-11-17 15:38:56 +08:00
|
|
|
serde_repr.workspace = true
|
2023-11-12 21:18:27 +08:00
|
|
|
serde_json.workspace = true
|
|
|
|
bytes.workspace = true
|
2023-03-03 20:38:31 +08:00
|
|
|
crossbeam-utils = "0.8.15"
|
2022-12-20 11:14:42 +08:00
|
|
|
lazy_static = "1.4.0"
|
2023-11-12 21:18:27 +08:00
|
|
|
parking_lot.workspace = true
|
|
|
|
tracing.workspace = true
|
2021-06-28 22:56:15 +08:00
|
|
|
|
2023-09-17 17:14:34 +08:00
|
|
|
# workspace
|
|
|
|
lib-dispatch = { workspace = true }
|
2024-04-02 10:14:09 +08:00
|
|
|
|
|
|
|
# Core
|
2023-11-12 18:00:07 +08:00
|
|
|
#flowy-core = { workspace = true, features = ["profiling"] }
|
2024-04-02 10:14:09 +08:00
|
|
|
flowy-core = { workspace = true, features = ["verbose_log"] }
|
|
|
|
#flowy-core = { workspace = true }
|
|
|
|
|
2024-01-30 05:36:27 +08:00
|
|
|
flowy-notification = { workspace = true, features = ["dart"] }
|
|
|
|
flowy-document = { workspace = true, features = ["dart"] }
|
|
|
|
flowy-config = { workspace = true, features = ["dart"] }
|
|
|
|
flowy-user = { workspace = true, features = ["dart"] }
|
|
|
|
flowy-date = { workspace = true, features = ["dart"] }
|
2023-09-17 17:14:34 +08:00
|
|
|
flowy-server = { workspace = true }
|
2024-01-11 14:42:03 +08:00
|
|
|
flowy-server-pub = { workspace = true}
|
2023-09-17 17:14:34 +08:00
|
|
|
collab-integrate = { workspace = true }
|
2023-12-31 07:29:40 +08:00
|
|
|
flowy-derive.workspace = true
|
2023-11-27 18:54:31 -08:00
|
|
|
serde_yaml = "0.9.27"
|
2024-01-30 05:36:27 +08:00
|
|
|
flowy-error = { workspace = true, features = ["impl_from_sqlite", "impl_from_dispatch_error", "impl_from_appflowy_cloud", "impl_from_reqwest", "impl_from_serde", "dart"] }
|
2021-07-02 20:47:52 +08:00
|
|
|
|
2021-08-18 16:02:47 +08:00
|
|
|
[features]
|
2023-02-10 14:30:34 +08:00
|
|
|
default = ["dart", "rev-sqlite"]
|
|
|
|
dart = ["flowy-core/dart"]
|
2023-01-12 13:09:08 +08:00
|
|
|
rev-sqlite = ["flowy-core/rev-sqlite"]
|
2023-01-08 12:10:53 +08:00
|
|
|
http_sync = ["flowy-core/http_sync", "flowy-core/use_bunyan"]
|
|
|
|
openssl_vendored = ["flowy-core/openssl_vendored"]
|
2022-02-08 14:36:59 +08:00
|
|
|
|
|
|
|
[build-dependencies]
|
2023-12-31 07:29:40 +08:00
|
|
|
flowy-codegen = { workspace = true, features = ["dart"] }
|