-
Notifications
You must be signed in to change notification settings - Fork 296
/
Cargo.toml
50 lines (46 loc) · 1.68 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[workspace]
members = [
"frb_codegen",
"frb_macros",
"frb_rust",
]
exclude = [
# Exclude example packages to ensure the example mimics how a typical user will use it.
# For example, the `target` directory is different with and without workspaces.
"frb_example/dart_minimal/rust",
"frb_example/deliberate_bad/rust",
"frb_example/flutter_via_create/rust",
"frb_example/flutter_via_integrate/rust",
"frb_example/flutter_package/rust",
"frb_example/dart_build_rs/rust",
"frb_example/gallery/rust",
"frb_example/pure_dart/rust",
"frb_example/pure_dart_pde/rust",
"frb_example/integrate_third_party/rust",
"frb_example/rust_ui_counter",
"frb_example/rust_ui_todo_list",
]
resolver = "2"
[workspace.package]
version = "2.5.1"
edition = "2021"
license = "MIT"
description = "High-level memory-safe binding generator for Flutter/Dart <-> Rust"
repository = "https://github.com/fzyzcjy/flutter_rust_bridge"
keywords = ["flutter", "dart", "ffi", "code-generation", "bindings"]
categories = ["development-tools::ffi"]
[workspace.dependencies]
allo-isolate = { version = "0.1.26", features = ["anyhow"] }
#allo-isolate = { git = "https://github.com/shekohex/allo-isolate", features = ["anyhow"] }
anyhow = "1.0.64"
chrono = "0.4.23"
lazy_static = "1.4.0"
uuid = "1.1.2"
thiserror = "1.0"
backtrace = "0.3.68"
flutter_rust_bridge_macros = { path = "frb_macros", version = "=2.5.1" }
flutter_rust_bridge = { path = "frb_rust", default-features = false, version = "=2.5.1" }
flutter_rust_bridge_codegen = { path = "frb_codegen", version = "=2.5.1" }
[profile.release.package.flutter_rust_bridge_codegen]
strip = "debuginfo"
debug = 1 # preserves some debug information