Revision control
Copy as Markdown
Other Tools
# 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.28.2"
authors = ["Firefox Sync Team <sync-team@mozilla.com>"]
description = "a multi-language bindings generator for rust"
readme = "README.md"
keywords = [
"ffi",
"bindgen",
]
license = "MPL-2.0"
[dependencies.anyhow]
version = "1"
[dependencies.camino]
version = "1.0.8"
optional = true
[dependencies.cargo_metadata]
version = "0.15"
optional = true
[dependencies.clap]
version = "4"
features = [
"cargo",
"std",
"derive",
]
optional = true
[dependencies.uniffi_bindgen]
version = "=0.28.2"
optional = true
[dependencies.uniffi_build]
version = "=0.28.2"
optional = true
[dependencies.uniffi_core]
version = "=0.28.2"
[dependencies.uniffi_macros]
version = "=0.28.2"
[dev-dependencies.trybuild]
version = "1"
[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"]
scaffolding-ffi-buffer-fns = [
"uniffi_core/scaffolding-ffi-buffer-fns",
"uniffi_macros/scaffolding-ffi-buffer-fns",
]
tokio = ["uniffi_core/tokio"]