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
|
2022-03-07 08:30:59 +08:00
|
|
|
# default static lib
|
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"] }
|
|
|
|
byteorder = { version = "1.3.4" }
|
|
|
|
protobuf = { version = "2.20.0" }
|
2021-09-17 19:03:46 +08:00
|
|
|
tokio = { version = "1", features = ["rt", "rt-multi-thread"] }
|
2021-06-28 22:56:15 +08:00
|
|
|
log = "0.4.14"
|
2021-07-01 15:40:26 +08:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2022-09-18 09:30:59 +08:00
|
|
|
serde_json = { version = "1.0" }
|
2021-08-20 22:00:03 +08:00
|
|
|
bytes = { version = "1.0" }
|
2022-06-14 08:46:11 +08:00
|
|
|
crossbeam-utils = "0.8.7"
|
2022-12-20 11:14:42 +08:00
|
|
|
lazy_static = "1.4.0"
|
|
|
|
parking_lot = "0.12.1"
|
2023-02-07 22:09:43 +08:00
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
|
|
|
|
2021-06-28 22:56:15 +08:00
|
|
|
|
2022-09-18 09:30:59 +08:00
|
|
|
lib-dispatch = { path = "../lib-dispatch" }
|
2023-01-08 12:10:53 +08:00
|
|
|
flowy-core = { path = "../flowy-core" }
|
2023-01-26 15:40:23 +08:00
|
|
|
flowy-notification = { path = "../flowy-notification" }
|
2022-12-30 11:16:47 +08:00
|
|
|
flowy-derive = { path = "../flowy-derive" }
|
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-01-18 11:22:13 +08:00
|
|
|
flowy-codegen = { path = "../flowy-codegen", features = ["dart"] }
|