124 lines
2.7 KiB
TOML
124 lines
2.7 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 = "2018"
|
|
name = "flutter_rust_bridge"
|
|
version = "1.80.1"
|
|
description = "High-level memory-safe binding generator for Flutter/Dart <-> Rust"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"flutter",
|
|
"dart",
|
|
"ffi",
|
|
"code-generation",
|
|
"bindings",
|
|
]
|
|
categories = ["development-tools::ffi"]
|
|
license = "MIT"
|
|
repository = "https://github.com/fzyzcjy/flutter_rust_bridge"
|
|
|
|
[dependencies.anyhow]
|
|
version = "1.0.64"
|
|
|
|
[dependencies.bytemuck]
|
|
version = "1.11.0"
|
|
|
|
[dependencies.chrono]
|
|
version = "0.4.23"
|
|
optional = true
|
|
|
|
[dependencies.flutter_rust_bridge_macros]
|
|
version = "1"
|
|
|
|
[dependencies.lazy_static]
|
|
version = "1.4.0"
|
|
|
|
[dependencies.log]
|
|
version = "0.4"
|
|
|
|
[dependencies.parking_lot]
|
|
version = "0.12.1"
|
|
|
|
[dependencies.threadpool]
|
|
version = "1.8.1"
|
|
|
|
[dependencies.uuid]
|
|
version = "1.1.2"
|
|
optional = true
|
|
|
|
[dev-dependencies.wasm-bindgen-test]
|
|
version = "0.3.32"
|
|
|
|
[build-dependencies.build-target]
|
|
version = "0.4.0"
|
|
|
|
[build-dependencies.cc]
|
|
version = "1.0"
|
|
|
|
[features]
|
|
chrono = [
|
|
"dep:chrono",
|
|
"allo-isolate/chrono",
|
|
]
|
|
default = [
|
|
"chrono",
|
|
"wasm-start",
|
|
]
|
|
uuid = [
|
|
"dep:uuid",
|
|
"allo-isolate/uuid",
|
|
]
|
|
wasm-start = ["console_error_panic_hook"]
|
|
worker-max = []
|
|
worker-single = []
|
|
zero-copy = ["allo-isolate/zero-copy"]
|
|
|
|
[target."cfg(not(target_family = \"wasm\"))".dependencies.allo-isolate]
|
|
version = "0.1.18"
|
|
features = ["anyhow"]
|
|
|
|
[target."cfg(not(target_family = \"wasm\"))".dependencies.dart-sys]
|
|
version = "4.0.2"
|
|
|
|
[target."cfg(not(target_family = \"wasm\"))".dependencies.libc]
|
|
version = "0.2"
|
|
|
|
[target."cfg(not(target_family = \"wasm\"))".dependencies.parking_lot]
|
|
version = "0.12.1"
|
|
|
|
[target."cfg(not(target_family = \"wasm\"))".dependencies.threadpool]
|
|
version = "1.8.1"
|
|
|
|
[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.60"
|
|
|
|
[target."cfg(target_family = \"wasm\")".dependencies.wasm-bindgen]
|
|
version = "0.2.81"
|
|
|
|
[target."cfg(target_family = \"wasm\")".dependencies.web-sys]
|
|
version = "0.3.58"
|
|
features = [
|
|
"DedicatedWorkerGlobalScope",
|
|
"MessageEvent",
|
|
"MessagePort",
|
|
"ErrorEvent",
|
|
"Blob",
|
|
"BlobPropertyBag",
|
|
"Worker",
|
|
"Url",
|
|
"BroadcastChannel",
|
|
]
|