2021-06-28 14:56:15 +00: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-05-04 04:39:46 +00:00
|
|
|
# default staticlib
|
2022-04-08 23:35:35 +00:00
|
|
|
crate-type = ["staticlib"]
|
2021-06-28 14:56:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2022-09-18 01:30:59 +00:00
|
|
|
allo-isolate = { version = "^0.1", features = ["catch-unwind"] }
|
2023-03-03 12:38:31 +00:00
|
|
|
byteorder = { version = "1.4.3" }
|
|
|
|
protobuf = { version = "2.28.0" }
|
|
|
|
tokio = { version = "1.26", features = ["full", "rt-multi-thread", "tracing"] }
|
|
|
|
log = "0.4.17"
|
2021-07-01 07:40:26 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2022-09-18 01:30:59 +00:00
|
|
|
serde_json = { version = "1.0" }
|
2023-03-03 12:38:31 +00:00
|
|
|
bytes = { version = "1.4" }
|
|
|
|
crossbeam-utils = "0.8.15"
|
2022-12-20 03:14:42 +00:00
|
|
|
lazy_static = "1.4.0"
|
|
|
|
parking_lot = "0.12.1"
|
2023-02-07 14:09:43 +00:00
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
|
|
|
|
2021-06-28 14:56:15 +00:00
|
|
|
|
2022-09-18 01:30:59 +00:00
|
|
|
lib-dispatch = { path = "../lib-dispatch" }
|
2023-01-08 04:10:53 +00:00
|
|
|
flowy-core = { path = "../flowy-core" }
|
2023-01-26 07:40:23 +00:00
|
|
|
flowy-notification = { path = "../flowy-notification" }
|
2023-05-17 01:49:39 +00:00
|
|
|
flowy-net = { path = "../flowy-net" }
|
|
|
|
flowy-derive = { path = "../../../shared-lib/flowy-derive" }
|
2023-05-21 10:53:59 +00:00
|
|
|
flowy-server = { path = "../flowy-server" }
|
2021-07-02 12:47:52 +00:00
|
|
|
|
2021-08-18 08:02:47 +00:00
|
|
|
[features]
|
2023-02-10 06:30:34 +00:00
|
|
|
default = ["dart", "rev-sqlite"]
|
|
|
|
dart = ["flowy-core/dart"]
|
2023-01-12 05:09:08 +00:00
|
|
|
rev-sqlite = ["flowy-core/rev-sqlite"]
|
2023-01-08 04:10:53 +00:00
|
|
|
http_sync = ["flowy-core/http_sync", "flowy-core/use_bunyan"]
|
|
|
|
openssl_vendored = ["flowy-core/openssl_vendored"]
|
2022-02-08 06:36:59 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2023-05-17 01:49:39 +00:00
|
|
|
flowy-codegen = { path = "../../../shared-lib/flowy-codegen", features = ["dart"] }
|