| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "uniffi" |
| 15 |
version = "0.29.2" |
| 16 |
build = false |
| 17 |
autolib = false |
| 18 |
autobins = false |
| 19 |
autoexamples = false |
| 20 |
autotests = false |
| 21 |
autobenches = false |
| 22 |
description = "a multi-language bindings generator for rust" |
| 23 |
homepage = "https://mozilla.github.io/uniffi-rs" |
| 24 |
documentation = "https://mozilla.github.io/uniffi-rs" |
| 25 |
readme = "README.md" |
| 26 |
keywords = [ |
| 27 |
"ffi", |
| 28 |
"bindgen", |
| 29 |
] |
| 30 |
license = "MPL-2.0" |
| 31 |
repository = "https://github.com/mozilla/uniffi-rs" |
| 32 |
|
| 33 |
[features] |
| 34 |
bindgen = ["dep:uniffi_bindgen"] |
| 35 |
bindgen-tests = [ |
| 36 |
"dep:uniffi_bindgen", |
| 37 |
"uniffi_bindgen?/bindgen-tests", |
| 38 |
] |
| 39 |
build = ["dep:uniffi_build"] |
| 40 |
cargo-metadata = [ |
| 41 |
"dep:cargo_metadata", |
| 42 |
"uniffi_bindgen?/cargo-metadata", |
| 43 |
] |
| 44 |
cli = [ |
| 45 |
"bindgen", |
| 46 |
"dep:clap", |
| 47 |
"dep:camino", |
| 48 |
] |
| 49 |
default = ["cargo-metadata"] |
| 50 |
ffi-trace = [ |
| 51 |
"uniffi_core/ffi-trace", |
| 52 |
"uniffi_bindgen?/ffi-trace", |
| 53 |
] |
| 54 |
scaffolding-ffi-buffer-fns = [ |
| 55 |
"uniffi_core/scaffolding-ffi-buffer-fns", |
| 56 |
"uniffi_macros/scaffolding-ffi-buffer-fns", |
| 57 |
] |
| 58 |
tokio = ["uniffi_core/tokio"] |
| 59 |
wasm-unstable-single-threaded = [ |
| 60 |
"uniffi_core/wasm-unstable-single-threaded", |
| 61 |
"uniffi_macros/wasm-unstable-single-threaded", |
| 62 |
] |
| 63 |
|
| 64 |
[lib] |
| 65 |
name = "uniffi" |
| 66 |
path = "src/lib.rs" |
| 67 |
|
| 68 |
[dependencies.anyhow] |
| 69 |
version = "1" |
| 70 |
|
| 71 |
[dependencies.camino] |
| 72 |
version = "1.0.8" |
| 73 |
optional = true |
| 74 |
|
| 75 |
[dependencies.cargo_metadata] |
| 76 |
version = "0.19" |
| 77 |
optional = true |
| 78 |
|
| 79 |
[dependencies.clap] |
| 80 |
version = "4" |
| 81 |
features = [ |
| 82 |
"cargo", |
| 83 |
"derive", |
| 84 |
"error-context", |
| 85 |
"help", |
| 86 |
"suggestions", |
| 87 |
"std", |
| 88 |
"usage", |
| 89 |
] |
| 90 |
optional = true |
| 91 |
default-features = false |
| 92 |
|
| 93 |
[dependencies.uniffi_bindgen] |
| 94 |
version = "=0.29.2" |
| 95 |
optional = true |
| 96 |
|
| 97 |
[dependencies.uniffi_build] |
| 98 |
version = "=0.29.2" |
| 99 |
optional = true |
| 100 |
|
| 101 |
[dependencies.uniffi_core] |
| 102 |
version = "=0.29.2" |
| 103 |
|
| 104 |
[dependencies.uniffi_macros] |
| 105 |
version = "=0.29.2" |
| 106 |
|
| 107 |
[dependencies.uniffi_pipeline] |
| 108 |
version = "=0.29.2" |
| 109 |
|
| 110 |
[dev-dependencies.trybuild] |
| 111 |
version = "1" |