-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
76 lines (65 loc) · 1.55 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[package]
name = "uniffi-dart"
version = "0.1.0"
edition = "2021"
license = "Apache-2 or MIT"
homepage = "https://github.com/acterglobal/uniffi-dart"
description = "Dart Frontend for UniFFI"
rust-version = "1.70"
[features]
defaults = []
binary = []
build = ["dep:uniffi_build"]
bindgen-tests = [
"dep:uniffi_testing",
"dep:camino-tempfile",
"dep:fs_extra",
"dep:glob",
]
[lib]
name = "uniffi_dart"
path = "src/lib.rs"
[[bin]]
name = "uniffi_bindgen_dart"
path = "src/bin.rs"
required-features = ["binary"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1"
paste = "1"
heck = "0.5"
uniffi = { workspace = true, features = [
"build",
] }
uniffi_bindgen = { workspace = true }
camino = "1"
serde = "1"
toml = "0.5"
genco = "0.17.5"
proc-macro2 = "1.0.66"
# feature specific stuff
uniffi_build = { workspace = true, optional = true }
# optional for testint
uniffi_testing = { workspace = true, optional = true }
fs_extra = { version = "1.3.0", optional = true }
camino-tempfile = { version = "1.0.2", optional = true }
glob = { version = "0.3.1", optional = true }
[workspace]
members = [
".",
# for testing
"fixtures/*",
]
# Ignore a few tests for now
exclude = [
"fixtures/coverall",
"fixtures/custom_types",
"fixtuers/callbacks",
"fixtuers/dispose",
"fixtuers/futures",
]
[workspace.dependencies]
uniffi = { version = "0.27.1" }
uniffi_bindgen = { version = "0.27.1" }
uniffi_build = { version = "0.27.1" }
uniffi_testing = { version = "0.27.1" }