flutter_rust_bridge 2.12.0

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple
Documentation
# 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"
rust-version = "1.70.0"
name = "flutter_rust_bridge"
version = "2.12.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple"
readme = "README.md"
keywords = [
    "flutter",
    "dart",
    "ffi",
    "code-generation",
    "bindings",
]
categories = ["development-tools::ffi"]
license = "MIT"
repository = "https://github.com/fzyzcjy/flutter_rust_bridge"

[features]
backtrace = [
    "dep:backtrace",
    "allo-isolate/backtrace",
]
chrono = [
    "dep:chrono",
    "allo-isolate/chrono",
]
dart-opaque = ["dep:dart-sys"]
default = [
    "anyhow",
    "dart-opaque",
    "log",
    "portable-atomic",
    "rust-async",
    "thread-pool",
    "user-utils",
    "wasm-start",
]
portable-atomic = ["dep:portable-atomic"]
rust-async = [
    "dep:tokio",
    "dep:futures",
    "dep:wasm-bindgen-futures",
]
thread-pool = ["dep:threadpool"]
user-utils = [
    "dep:android_logger",
    "dep:oslog",
]
uuid = [
    "dep:uuid",
    "allo-isolate/uuid",
]
wasm-start = ["console_error_panic_hook"]

[lib]
name = "flutter_rust_bridge"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0.64"
optional = true

[dependencies.backtrace]
version = "0.3.68"
optional = true

[dependencies.byteorder]
version = "1.5.0"

[dependencies.chrono]
version = "0.4.23"
optional = true

[dependencies.delegate-attr]
version = "0.3.0"

[dependencies.flutter_rust_bridge_macros]
version = "=2.12.0"

[dependencies.futures]
version = "0.3.29"
optional = true

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.log]
version = "0.4"
optional = true

[dependencies.portable-atomic]
version = "1.8.0"
optional = true

[dependencies.uuid]
version = "1.1.2"
optional = true

[dev-dependencies.cool_asserts]
version = "2.0.3"

[dev-dependencies.wasm-bindgen-test]
version = "0.3.32"

[build-dependencies.build-target]
version = "0.4.0"

[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.oslog]
version = "0.2.0"
optional = true

[target.'cfg(not(target_family = "wasm"))'.dependencies.allo-isolate]
version = "0.1.26"
features = [
    "anyhow",
    "anyhow",
    "backtrace",
    "zero-copy",
]

[target.'cfg(not(target_family = "wasm"))'.dependencies.dart-sys]
version = "4.1.5"
optional = true

[target.'cfg(not(target_family = "wasm"))'.dependencies.threadpool]
version = "1.8.1"
optional = true

[target.'cfg(not(target_family = "wasm"))'.dependencies.tokio]
version = "1.34.0"
features = [
    "rt-multi-thread",
    "sync",
]
optional = true

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.tokio]
version = "1.34.0"
features = [
    "rt-multi-thread",
    "sync",
    "macros",
]

[target.'cfg(target_family = "wasm")'.dependencies.bytemuck]
version = "1.11.0"

[target.'cfg(target_family = "wasm")'.dependencies.console_error_panic_hook]
version = "0.1.7"
optional = true

[target.'cfg(target_family = "wasm")'.dependencies.js-sys]
version = "0.3.69"

[target.'cfg(target_family = "wasm")'.dependencies.tokio]
version = "1.34.0"
features = ["sync"]
optional = true

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen]
version = "0.2.92"

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4.42"
optional = true

[target.'cfg(target_family = "wasm")'.dependencies.web-sys]
version = "0.3.58"
features = [
    "DedicatedWorkerGlobalScope",
    "MessageEvent",
    "MessagePort",
    "ErrorEvent",
    "Blob",
    "BlobPropertyBag",
    "Worker",
    "Url",
    "BroadcastChannel",
]

[target.'cfg(target_os = "android")'.dependencies.android_logger]
version = "0.15"
optional = true

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(frb_expand)"]