|
1 | | -[package] |
2 | | -name = "flowy-sdk" |
3 | | -version = "0.1.0" |
4 | | -edition = "2018" |
5 | | - |
6 | | -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
7 | | - |
8 | | -[dependencies] |
9 | | -lib-dispatch = { path = "../lib-dispatch" } |
10 | | -lib-log = { path = "../lib-log" } |
11 | | -flowy-user = { path = "../flowy-user" } |
12 | | -flowy-net = { path = "../flowy-net" } |
13 | | -flowy-folder = { path = "../flowy-folder", default-features = false } |
14 | | -flowy-grid = { path = "../flowy-grid", default-features = false } |
15 | | -flowy-grid-data-model = { path = "../../../shared-lib/flowy-grid-data-model" } |
16 | | -flowy-database = { path = "../flowy-database" } |
17 | | -flowy-text-block = { path = "../flowy-text-block", default-features = false } |
18 | | -flowy-revision = { path = "../flowy-revision" } |
19 | | - |
20 | | -tracing = { version = "0.1" } |
21 | | -log = "0.4.14" |
22 | | -futures-core = { version = "0.3", default-features = false } |
23 | | -color-eyre = { version = "0.5", default-features = false } |
24 | | -bytes = "1.0" |
25 | | -tokio = { version = "1", features = ["rt"] } |
26 | | -parking_lot = "0.11" |
27 | | - |
28 | | -flowy-sync = { path = "../../../shared-lib/flowy-sync" } |
29 | | -lib-ws = { path = "../../../shared-lib/lib-ws" } |
30 | | -lib-infra = { path = "../../../shared-lib/lib-infra" } |
31 | | - |
32 | | -[dev-dependencies] |
33 | | -serde = { version = "1.0", features = ["derive"] } |
34 | | -bincode = { version = "1.3"} |
35 | | -protobuf = {version = "2.24.1"} |
36 | | -claim = "0.5.0" |
37 | | -tokio = { version = "1", features = ["full"]} |
38 | | -futures-util = "0.3.15" |
39 | | - |
40 | | -[features] |
41 | | -http_sync = ["flowy-folder/cloud_sync", "flowy-text-block/cloud_sync"] |
42 | | -native_sync = ["flowy-folder/cloud_sync", "flowy-text-block/cloud_sync"] |
43 | | -use_bunyan = ["lib-log/use_bunyan"] |
44 | | -dart = ["flowy-user/dart", "flowy-net/dart", "flowy-folder/dart", "flowy-sync/dart", "flowy-grid/dart", "flowy-text-block/dart"] |
| 1 | +[package] |
| 2 | +name = "flowy-sdk" |
| 3 | +version = "0.1.0" |
| 4 | +edition = "2018" |
| 5 | + |
| 6 | +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
| 7 | + |
| 8 | +[dependencies] |
| 9 | +lib-dispatch = { path = "../lib-dispatch" } |
| 10 | +lib-log = { path = "../lib-log" } |
| 11 | +flowy-user = { path = "../flowy-user" } |
| 12 | +flowy-net = { path = "../flowy-net" } |
| 13 | +flowy-folder = { path = "../flowy-folder", default-features = false } |
| 14 | +flowy-grid = { path = "../flowy-grid", default-features = false } |
| 15 | +flowy-grid-data-model = { path = "../../../shared-lib/flowy-grid-data-model" } |
| 16 | +flowy-database = { path = "../flowy-database" } |
| 17 | +flowy-text-block = { path = "../flowy-text-block", default-features = false } |
| 18 | +flowy-revision = { path = "../flowy-revision" } |
| 19 | + |
| 20 | +tracing = { version = "0.1" } |
| 21 | +log = "0.4.14" |
| 22 | +futures-core = { version = "0.3", default-features = false } |
| 23 | +color-eyre = { version = "0.5", default-features = false } |
| 24 | +bytes = "1.0" |
| 25 | +tokio = { version = "1", features = ["rt"] } |
| 26 | +parking_lot = "0.11" |
| 27 | + |
| 28 | +flowy-sync = { path = "../../../shared-lib/flowy-sync" } |
| 29 | +lib-ws = { path = "../../../shared-lib/lib-ws" } |
| 30 | +lib-infra = { path = "../../../shared-lib/lib-infra" } |
| 31 | + |
| 32 | +[dev-dependencies] |
| 33 | +serde = { version = "1.0", features = ["derive"] } |
| 34 | +bincode = { version = "1.3" } |
| 35 | +protobuf = { version = "2.24.1" } |
| 36 | +claim = "0.5.0" |
| 37 | +tokio = { version = "1", features = ["full"] } |
| 38 | +futures-util = "0.3.15" |
| 39 | + |
| 40 | +[features] |
| 41 | +http_sync = ["flowy-folder/cloud_sync", "flowy-text-block/cloud_sync"] |
| 42 | +native_sync = ["flowy-folder/cloud_sync", "flowy-text-block/cloud_sync"] |
| 43 | +use_bunyan = ["lib-log/use_bunyan"] |
| 44 | +dart = [ |
| 45 | + "flowy-user/dart", |
| 46 | + "flowy-net/dart", |
| 47 | + "flowy-folder/dart", |
| 48 | + "flowy-sync/dart", |
| 49 | + "flowy-grid/dart", |
| 50 | + "flowy-text-block/dart", |
| 51 | +] |
| 52 | +openssl_vendored = ["flowy-database/openssl_vendored"] |
0 commit comments