# 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 = "brosdk"
version = "1.0.2"
authors = ["Brosdk Team"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Browser SDK Rust bindings"
readme = "README.md"
license = "MIT"
repository = "https://github.com/browsersdk/brosdk-rust#"

[features]
default = ["tauri-app"]
tauri-app = [
    "tauri",
    "tauri-build",
    "tauri-plugin-shell",
]

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

[[bin]]
name = "brosdk-demo"
path = "src-tauri/main.rs"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.flate2]
version = "1"

[dependencies.libc]
version = "0.2"

[dependencies.libloading]
version = "0.8"

[dependencies.once_cell]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.tar]
version = "0.4"

[dependencies.tauri]
version = "2"
features = ["tray-icon"]
optional = true

[dependencies.tauri-plugin-shell]
version = "2"
optional = true

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

[dependencies.zip]
version = "2"

[build-dependencies.tauri-build]
version = "2"
features = []
optional = true
