lingxia-logic 0.3.1

JavaScript runtime for LingXia lightweight application
# 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 = "lingxia-logic"
version = "0.3.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JavaScript runtime for LingXia lightweight application"
readme = false
keywords = [
    "lingxia",
    "javascript",
    "runtime",
]
categories = [
    "web-programming",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/LingXia-Dev/LingXia"
resolver = "2"

[features]
default = ["tls-aws-lc"]
tls-aws-lc = [
    "lxapp/tls-aws-lc",
    "rong_modules/tls-aws-lc",
]
tls-ring = [
    "lxapp/tls-ring",
    "rong_modules/tls-ring",
]

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

[dependencies.futures]
version = "0.3.31"

[dependencies.lingxia-messaging]
version = "0.3.1"

[dependencies.lingxia-platform]
version = "0.3.1"

[dependencies.log]
version = "0.4.29"

[dependencies.lxapp]
version = "0.3.1"
default-features = false
package = "lingxia-lxapp"

[dependencies.rong_modules]
version = "0.2.0"
features = [
    "timer",
    "navigator",
    "path",
    "http",
    "encoding",
    "event",
    "exception",
    "abort",
    "console",
    "url",
    "buffer",
    "fs",
    "stream",
]
default-features = false

[dependencies.rong_storage]
version = "0.2.0"

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

[dependencies.serde_json]
version = "1.0.143"

[target.'cfg(all(target_os = "linux", target_env = "ohos"))'.dependencies.rong]
version = "0.2.0"
features = ["quickjs"]
default-features = false

[target.'cfg(all(target_os = "linux", target_env = "ohos"))'.dependencies.rong_modules]
version = "0.2.0"
features = ["quickjs"]
default-features = false

[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.rong]
version = "0.2.0"
features = ["jscore"]
default-features = false

[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.rong_modules]
version = "0.2.0"
features = ["jscore"]
default-features = false

[target.'cfg(not(any(target_os = "ios", target_os = "macos", target_os = "android", all(target_os = "linux", target_env = "ohos"))))'.dependencies.rong]
version = "0.2.0"
features = ["quickjs"]
default-features = false

[target.'cfg(not(any(target_os = "ios", target_os = "macos", target_os = "android", all(target_os = "linux", target_env = "ohos"))))'.dependencies.rong_modules]
version = "0.2.0"
features = ["quickjs"]
default-features = false

[target.'cfg(target_os = "android")'.dependencies.rong]
version = "0.2.0"
features = ["quickjs"]
default-features = false

[target.'cfg(target_os = "android")'.dependencies.rong_modules]
version = "0.2.0"
features = ["quickjs"]
default-features = false