bamts-node 0.1.0

Node.js host environment compatibility layer for BamTS
Documentation
# 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.97.1"
name = "bamts-node"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Node.js host environment compatibility layer for BamTS"
readme = false
license = "MIT"
repository = "https://github.com/metaphorics/bamTiScript"

[features]
aot-main = [
    "node-host",
    "dep:bamts-bytecode",
    "bamts-native/aot-image",
]
default = ["node-host"]
node-host = ["bamts-native/node-host"]
script-compiler = [
    "dep:bamts-compiler",
    "dep:bamts-bytecode",
]

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

[dependencies.bamts-bytecode]
version = "0.1.0"
optional = true

[dependencies.bamts-compiler]
version = "0.1.0"
optional = true

[dependencies.bamts-native]
version = "0.1.0"

[dependencies.bamts-runtime]
version = "0.1.0"

[dependencies.tokio]
version = "=1.53.1"
features = [
    "rt",
    "sync",
    "time",
]

[dependencies.tokio-util]
version = "=0.7.19"
features = ["time"]

[lints.rust]
unsafe_code = "deny"