summaryrefslogtreecommitdiffstats
path: root/third_party/rust/uniffi/Cargo.toml
blob: 374e3655028b895984539745d54d7b924b8b24b9 (plain)
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
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "uniffi"
version = "0.27.1"
authors = ["Firefox Sync Team <sync-team@mozilla.com>"]
description = "a multi-language bindings generator for rust"
homepage = "https://mozilla.github.io/uniffi-rs"
documentation = "https://mozilla.github.io/uniffi-rs"
readme = "README.md"
keywords = [
    "ffi",
    "bindgen",
]
license = "MPL-2.0"
repository = "https://github.com/mozilla/uniffi-rs"

[dependencies.anyhow]
version = "1"

[dependencies.camino]
version = "1.0.8"
optional = true

[dependencies.clap]
version = "4"
features = [
    "cargo",
    "std",
    "derive",
]
optional = true

[dependencies.uniffi_bindgen]
version = "=0.27.1"
optional = true

[dependencies.uniffi_build]
version = "=0.27.1"
optional = true

[dependencies.uniffi_core]
version = "=0.27.1"

[dependencies.uniffi_macros]
version = "=0.27.1"

[dev-dependencies.trybuild]
version = "1"

[features]
bindgen = ["dep:uniffi_bindgen"]
bindgen-tests = ["dep:uniffi_bindgen"]
build = ["dep:uniffi_build"]
cli = [
    "bindgen",
    "uniffi_bindgen?/clap",
    "dep:clap",
    "dep:camino",
]
default = []
tokio = ["uniffi_core/tokio"]