# 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 = "2021" name = "quickjs_runtime" version = "0.14.4" authors = ["Andries Hiemstra "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Wrapper API and utils for the QuickJS JavaScript engine with support for Promise, Modules, Async/await" homepage = "https://github.com/HiRoFa/quickjs_es_runtime" documentation = "https://hirofa.github.io/quickjs_es_runtime/quickjs_runtime/index.html" readme = "README.md" keywords = [ "quickjs", "javascript", "runtime", "async", "engine", ] categories = ["development-tools"] license = "MIT" repository = "https://github.com/HiRoFa/quickjs_es_runtime" [lib] name = "quickjs_runtime" path = "src/lib.rs" [dependencies.backtrace] version = "0.3.67" [dependencies.flume] version = "0.10" features = ["async"] [dependencies.futures] version = "0.3" [dependencies.hirofa_utils] version = "0.7" [dependencies.lazy_static] version = "1.4.0" [dependencies.libquickjs-sys] version = "0.6.0" default-features = false package = "hirofa-quickjs-sys" [dependencies.log] version = "0.4" [dependencies.num_cpus] version = "1" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.string_cache] version = "0.8" [dependencies.swc] version = "=0.236.21" optional = true [dependencies.swc_atoms] version = "=0.4.43" optional = true [dependencies.swc_cached] version = "=0.3.15" optional = true [dependencies.swc_common] version = "=0.29.40" features = ["tty-emitter"] optional = true [dependencies.swc_config] version = "=0.1.5" optional = true [dependencies.swc_config_macro] version = "=0.1.1" optional = true [dependencies.swc_ecma_ast] version = "=0.95.11" optional = true [dependencies.swc_ecma_codegen] version = "=0.128.18" optional = true [dependencies.swc_ecma_codegen_macros] version = "=0.7.2" optional = true [dependencies.swc_ecma_ext_transforms] version = "=0.92.19" optional = true [dependencies.swc_ecma_lints] version = "=0.67.24" optional = true [dependencies.swc_ecma_loader] version = "=0.41.42" optional = true [dependencies.swc_ecma_minifier] version = "=0.160.38" optional = true [dependencies.swc_ecma_parser] version = "=0.123.16" optional = true [dependencies.swc_ecma_preset_env] version = "=0.175.23" optional = true [dependencies.swc_ecma_transforms] version = "=0.199.27" optional = true [dependencies.swc_ecma_transforms_base] version = "=0.112.24" optional = true [dependencies.swc_ecma_transforms_classes] version = "=0.101.24" optional = true [dependencies.swc_ecma_transforms_compat] version = "=0.137.25" optional = true [dependencies.swc_ecma_transforms_macros] version = "=0.5.1" optional = true [dependencies.swc_ecma_transforms_module] version = "=0.154.25" optional = true [dependencies.swc_ecma_transforms_optimization] version = "=0.168.27" optional = true [dependencies.swc_ecma_transforms_proposal] version = "=0.145.25" optional = true [dependencies.swc_ecma_transforms_react] version = "=0.156.26" optional = true [dependencies.swc_ecma_transforms_typescript] version = "=0.160.27" optional = true [dependencies.swc_ecma_usage_analyzer] version = "=0.1.13" optional = true [dependencies.swc_ecma_utils] version = "=0.106.18" optional = true [dependencies.swc_ecma_visit] version = "=0.81.11" optional = true [dependencies.swc_eq_ignore_macros] version = "=0.1.1" optional = true [dependencies.swc_error_reporters] version = "=0.13.41" optional = true [dependencies.swc_fast_graph] version = "=0.17.42" optional = true [dependencies.swc_macros_common] version = "=0.3.7" optional = true [dependencies.swc_node_comments] version = "=0.16.40" optional = true [dependencies.swc_timer] version = "=0.17.43" optional = true [dependencies.swc_trace_macro] version = "=0.1.2" optional = true [dependencies.swc_visit] version = "=0.5.6" optional = true [dependencies.swc_visit_macros] version = "=0.5.7" optional = true [dependencies.thread-id] version = "4" [dependencies.tokio] version = "1" features = [ "rt", "rt-multi-thread", ] [dev-dependencies.anyhow] version = "1" [dev-dependencies.cargo-husky] version = "1.5.0" default-features = false [dev-dependencies.serde] version = "1" [dev-dependencies.serde_json] version = "1" [dev-dependencies.simple-logging] version = "2.0.2" [dev-dependencies.tokio] version = "1" features = ["macros"] [dev-dependencies.tracing] version = "0.1" [dev-dependencies.tracing-gelf] version = "0.7" [dev-dependencies.tracing-log] version = "0.1" [features] bellard = ["libquickjs-sys/bellard"] console = [] default = [ "console", "setimmediate", "setinterval", "settimeout", "typescript", "bellard", ] quickjs-ng = ["libquickjs-sys/quickjs-ng"] setimmediate = [] setinterval = [] settimeout = [] typescript = [ "swc", "swc_atoms", "swc_cached", "swc_common", "swc_macros_common", "swc_eq_ignore_macros", "swc_visit", "swc_visit_macros", "swc_config", "swc_config_macro", "swc_ecma_codegen", "swc_ecma_ast", "swc_ecma_codegen_macros", "swc_ecma_ext_transforms", "swc_ecma_utils", "swc_ecma_visit", "swc_ecma_lints", "swc_ecma_loader", "swc_ecma_minifier", "swc_ecma_parser", "swc_error_reporters", "swc_fast_graph", "swc_ecma_usage_analyzer", "swc_timer", "swc_ecma_preset_env", "swc_ecma_transforms", "swc_ecma_transforms_base", "swc_ecma_transforms_compat", "swc_ecma_transforms_classes", "swc_ecma_transforms_module", "swc_ecma_transforms_optimization", "swc_ecma_transforms_proposal", "swc_ecma_transforms_macros", "swc_ecma_transforms_react", "swc_ecma_transforms_typescript", "swc_node_comments", "swc_trace_macro", ]