# 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 = "emit_batcher"
version = "1.16.0"
authors = ["emit contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Batch processing infrastructure for emit."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/emit-rs/emit"

[package.metadata.docs.rs]
features = ["tokio"]

[features]
web = [
    "dep:wasm-bindgen",
    "dep:wasm-bindgen-futures",
    "dep:js-sys",
    "dep:futures",
]

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

[dependencies.emit]
version = "1.16.0"
features = ["implicit_internal_rt"]
default-features = false

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

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "time",
]
optional = true

[target.'cfg(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown"))'.dependencies.js-sys]
version = "0.3"
optional = true

[target.'cfg(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown"))'.dependencies.wasm-bindgen]
version = "0.2"
optional = true

[target.'cfg(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown"))'.dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true

[target.'cfg(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
version = "0.3"

[target.'cfg(not(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown")))'.dev-dependencies.tokio]
version = "1"
features = [
    "sync",
    "macros",
    "io-util",
    "rt",
    "time",
]
