# 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"
rust-version = "1.90"
name = "rong"
version = "0.3.0"
build = false
include = [
    "Cargo.toml",
    "CHANGELOG.md",
    "LICENSE-APACHE",
    "LICENSE-MIT",
    "README.md",
    "src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RongJS runtime and embedding API"
homepage = "https://github.com/LingXia-Dev/Rong"
documentation = "https://docs.rs/rong"
readme = "README.md"
keywords = [
    "javascript",
    "runtime",
    "embedding",
]
categories = ["api-bindings"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/LingXia-Dev/Rong"

[features]
arkjs = ["dep:rong_arkjs"]
default = []
jscore = ["dep:rong_jscore"]
quickjs = ["dep:rong_quickjs"]
tls-aws-lc = ["rong_rt/tls-aws-lc"]
tls-ring = ["rong_rt/tls-ring"]

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

[dependencies.futures]
version = "0.3.31"

[dependencies.rong_arkjs]
version = "0.3.0"
optional = true

[dependencies.rong_core]
version = "0.3.0"

[dependencies.rong_jscore]
version = "0.3.0"
optional = true

[dependencies.rong_macro]
version = "0.3.0"

[dependencies.rong_quickjs]
version = "0.3.0"
optional = true

[dependencies.rong_rt]
version = "0.3.0"
default-features = false

[dependencies.tokio]
version = "1.49"
features = [
    "rt",
    "rt-multi-thread",
    "time",
    "macros",
    "sync",
    "fs",
    "io-util",
    "process",
    "io-std",
]

[dev-dependencies.bytes]
version = "1.11.0"

[profile.test]
debug = 2
