# 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 = "seam-engine-wasm"
version = "0.5.31"
authors = ["Canmi(Canmi21) <t@canmi.icu>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WASM bindings for the SeamJS server engine"
readme = "README.md"
license = "MIT"
repository = "https://github.com/canmi21/seam"

[package.metadata.wasm-pack.profile.release]
wasm-opt = [
    "-O",
    "--all-features",
]

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

[dependencies.seam-engine]
version = "0.5.31"

[dependencies.seam-injector]
version = "0.5.31"

[dependencies.serde_json]
version = "1"

[dependencies.wasm-bindgen]
version = "0.2"

[lints.clippy]
cloned_instead_of_copied = "warn"
dbg_macro = "deny"
explicit_iter_loop = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
manual_let_else = "warn"
needless_pass_by_value = "warn"
print_stderr = "warn"
print_stdout = "warn"
redundant_closure_for_method_calls = "warn"
todo = "warn"
too_many_lines = "warn"
uninlined_format_args = "warn"
unnecessary_wraps = "warn"
unused_self = "warn"
unwrap_used = "warn"
