# 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 = "2024"
name = "dioxus-use-js"
version = "0.4.6"
authors = ["Dillon Henry McMahon"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A macro that generates Rust bindings to JavaScript or TypeScript functions, with compile time checks. For use with Dioxus."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/mcmah309/dioxus-use-js"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
build = ["dep:bon"]

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

[dependencies.bon]
version = "3"
optional = true

[dependencies.dioxus]
version = "0.7.0"
features = [
    "lib",
    "logger",
]
default-features = false

[dependencies.dioxus-use-js-macro]
version = "=0.4.6"

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

[dependencies.serde_json]
version = "1"
