111 lines
2.3 KiB
TOML
111 lines
2.3 KiB
TOML
# 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.29.2"
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
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"
|
|
|
|
[features]
|
|
bindgen = ["dep:uniffi_bindgen"]
|
|
bindgen-tests = [
|
|
"dep:uniffi_bindgen",
|
|
"uniffi_bindgen?/bindgen-tests",
|
|
]
|
|
build = ["dep:uniffi_build"]
|
|
cargo-metadata = [
|
|
"dep:cargo_metadata",
|
|
"uniffi_bindgen?/cargo-metadata",
|
|
]
|
|
cli = [
|
|
"bindgen",
|
|
"dep:clap",
|
|
"dep:camino",
|
|
]
|
|
default = ["cargo-metadata"]
|
|
ffi-trace = [
|
|
"uniffi_core/ffi-trace",
|
|
"uniffi_bindgen?/ffi-trace",
|
|
]
|
|
scaffolding-ffi-buffer-fns = [
|
|
"uniffi_core/scaffolding-ffi-buffer-fns",
|
|
"uniffi_macros/scaffolding-ffi-buffer-fns",
|
|
]
|
|
tokio = ["uniffi_core/tokio"]
|
|
wasm-unstable-single-threaded = [
|
|
"uniffi_core/wasm-unstable-single-threaded",
|
|
"uniffi_macros/wasm-unstable-single-threaded",
|
|
]
|
|
|
|
[lib]
|
|
name = "uniffi"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.anyhow]
|
|
version = "1"
|
|
|
|
[dependencies.camino]
|
|
version = "1.0.8"
|
|
optional = true
|
|
|
|
[dependencies.cargo_metadata]
|
|
version = "0.19"
|
|
optional = true
|
|
|
|
[dependencies.clap]
|
|
version = "4"
|
|
features = [
|
|
"cargo",
|
|
"derive",
|
|
"error-context",
|
|
"help",
|
|
"suggestions",
|
|
"std",
|
|
"usage",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.uniffi_bindgen]
|
|
version = "=0.29.2"
|
|
optional = true
|
|
|
|
[dependencies.uniffi_build]
|
|
version = "=0.29.2"
|
|
optional = true
|
|
|
|
[dependencies.uniffi_core]
|
|
version = "=0.29.2"
|
|
|
|
[dependencies.uniffi_macros]
|
|
version = "=0.29.2"
|
|
|
|
[dependencies.uniffi_pipeline]
|
|
version = "=0.29.2"
|
|
|
|
[dev-dependencies.trybuild]
|
|
version = "1"
|