flowsdk_ffi 0.4.2

FFI bindings for FlowSDK, allowing multi-language integration.
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"
name = "flowsdk_ffi"
version = "0.4.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FFI bindings for FlowSDK, allowing multi-language integration."
documentation = "https://docs.rs/flowsdk_ffi"
readme = false
keywords = [
    "ffi",
    "mqtt",
    "bindings",
]
categories = ["api-bindings"]
license = "MPL-2.0"
repository = "https://github.com/emqx/flowsdk"

[features]
default = [
    "tls",
    "quic",
]
quic = [
    "tls",
    "flowsdk/quic",
    "dep:quinn-proto",
]
tls = [
    "flowsdk/rustls-tls",
    "dep:rustls",
    "dep:rustls-native-certs",
    "dep:rustls-pemfile",
    "dep:rustls-pki-types",
]

[lib]
name = "flowsdk_ffi"
crate-type = [
    "cdylib",
    "staticlib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "uniffi-bindgen"
path = "src/bin/uniffi-bindgen.rs"

[dependencies.flowsdk]
version = "0.4.1"

[dependencies.libc]
version = "0.2"

[dependencies.quinn-proto]
version = "0.11"
optional = true

[dependencies.rustls]
version = "0.23"
optional = true

[dependencies.rustls-native-certs]
version = "0.7"
optional = true

[dependencies.rustls-pemfile]
version = "2.1"
optional = true

[dependencies.rustls-pki-types]
version = "1"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.uniffi]
version = "0.28"
features = ["cli"]

[dependencies.uniffi_macros]
version = "0.28"