mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: update build.rs with cfg flag control (#1627)
Co-authored-by: nathan <nathan@appflowy.io>
This commit is contained in:
parent
a2b5d6fa99
commit
436291c01a
@ -31,7 +31,7 @@ dart-notify = { path = "../dart-notify" }
|
||||
flowy-derive = { path = "../flowy-derive" }
|
||||
|
||||
[features]
|
||||
default = ["flowy-sdk/dart", "dart-notify/dart", "flutter"]
|
||||
default = ["flowy-sdk/dart", "flutter"]
|
||||
flutter = []
|
||||
http_sync = ["flowy-sdk/http_sync", "flowy-sdk/use_bunyan"]
|
||||
openssl_vendored = ["flowy-sdk/openssl_vendored"]
|
||||
|
@ -15,8 +15,5 @@ bytes = { version = "1.0" }
|
||||
flowy-derive = {path = "../flowy-derive" }
|
||||
lib-dispatch = {path = "../lib-dispatch" }
|
||||
|
||||
[features]
|
||||
dart = ["flowy-codegen/dart"]
|
||||
|
||||
[build-dependencies]
|
||||
flowy-codegen = { path = "../flowy-codegen"}
|
||||
flowy-codegen = { path = "../flowy-codegen", features = ["dart"]}
|
||||
|
@ -31,4 +31,4 @@ db = ["flowy-database", "lib-sqlite", "r2d2"]
|
||||
dart = ["flowy-codegen/dart"]
|
||||
|
||||
[build-dependencies]
|
||||
flowy-codegen = { path = "../flowy-codegen"}
|
||||
flowy-codegen = { path = "../flowy-codegen", features = ["proto_gen"]}
|
||||
|
@ -8,7 +8,7 @@ edition = "2021"
|
||||
[dependencies]
|
||||
bytes = "1.0"
|
||||
md5 = "0.7.0"
|
||||
serde = {versino = "1.0"}
|
||||
serde = { version = "1.0" }
|
||||
serde_json = { version = "1.0" }
|
||||
serde_repr = "0.1"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user