[package]
edition = "2024"
name = "bun_runtime"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bao runtime integration — JS engine + Bun API + event loop"
readme = false
license = "MIT OR MPL-2.0"
resolver = "2"
[lib]
name = "bun_runtime"
path = "src/lib.rs"
[[test]]
name = "abort_signal_timeout_tests"
path = "tests/abort_signal_timeout_tests.rs"
[[test]]
name = "assert_conformance"
path = "tests/node_conformance/assert_conformance.rs"
[[test]]
name = "assert_deep_tests"
path = "tests/assert_deep_tests.rs"
[[test]]
name = "buffer_conformance"
path = "tests/node_conformance/buffer_conformance.rs"
[[test]]
name = "buffer_deep_tests"
path = "tests/buffer_deep_tests.rs"
[[test]]
name = "buffer_module_tests"
path = "tests/buffer_module_tests.rs"
[[test]]
name = "bug353_deep_verification_tests"
path = "tests/bug353_deep_verification_tests.rs"
[[test]]
name = "bun_api_deep_tests"
path = "tests/bun_api_deep_tests.rs"
[[test]]
name = "bun_api_tests"
path = "tests/bun_api_tests.rs"
[[test]]
name = "bun_build_e2e_tests"
path = "tests/bun_build_e2e_tests.rs"
[[test]]
name = "bun_face_e2e_tests"
path = "tests/bun_face_e2e_tests.rs"
[[test]]
name = "bun_file_methods_e2e_tests"
path = "tests/bun_file_methods_e2e_tests.rs"
[[test]]
name = "bun_listen_tcp_behavior_tests"
path = "tests/bun_listen_tcp_behavior_tests.rs"
[[test]]
name = "bun_p0_face_tests"
path = "tests/bun_p0_face_tests.rs"
[[test]]
name = "bun_serve_binary_body_tests"
path = "tests/bun_serve_binary_body_tests.rs"
[[test]]
name = "bun_socket_uncaught_tests"
path = "tests/bun_socket_uncaught_tests.rs"
[[test]]
name = "bun_spawn_events_tests"
path = "tests/bun_spawn_events_tests.rs"
[[test]]
name = "bun_sqlite_backup_tests"
path = "tests/bun_sqlite_backup_tests.rs"
[[test]]
name = "bun_test_deep_tests"
path = "tests/bun_test_deep_tests.rs"
[[test]]
name = "bun_wave_a_surface_tests"
path = "tests/bun_wave_a_surface_tests.rs"
[[test]]
name = "child_process_deep_tests"
path = "tests/child_process_deep_tests.rs"
[[test]]
name = "child_process_spawn_events_tests"
path = "tests/child_process_spawn_events_tests.rs"
[[test]]
name = "child_process_vm_module_tests"
path = "tests/child_process_vm_module_tests.rs"
[[test]]
name = "cli_lib_tests"
path = "tests/cli_lib_tests.rs"
[[test]]
name = "cluster_isprimary_race_regression_tests"
path = "tests/cluster_isprimary_race_regression_tests.rs"
[[test]]
name = "cluster_pump_loop_tests"
path = "tests/cluster_pump_loop_tests.rs"
[[test]]
name = "cluster_worker_kill_tests"
path = "tests/cluster_worker_kill_tests.rs"
[[test]]
name = "conformance_common"
path = "tests/conformance_common.rs"
[[test]]
name = "console_output_tests"
path = "tests/console_output_tests.rs"
[[test]]
name = "crypto_conformance"
path = "tests/node_conformance/crypto_conformance.rs"
[[test]]
name = "crypto_deep_tests"
path = "tests/crypto_deep_tests.rs"
[[test]]
name = "crypto_subtle_string_algo_tests"
path = "tests/crypto_subtle_string_algo_tests.rs"
[[test]]
name = "dns_cache_share_tests"
path = "tests/dns_cache_share_tests.rs"
[[test]]
name = "dns_net_deep_tests"
path = "tests/dns_net_deep_tests.rs"
[[test]]
name = "es_language_features_tests"
path = "tests/es_language_features_tests.rs"
[[test]]
name = "esm_import_deep_tests"
path = "tests/esm_import_deep_tests.rs"
[[test]]
name = "event_loop_module_tests"
path = "tests/event_loop_module_tests.rs"
[[test]]
name = "event_loop_timing_tests"
path = "tests/event_loop_timing_tests.rs"
[[test]]
name = "events_conformance"
path = "tests/node_conformance/events_conformance.rs"
[[test]]
name = "events_deep_tests"
path = "tests/events_deep_tests.rs"
[[test]]
name = "events_path_deep_tests"
path = "tests/events_path_deep_tests.rs"
[[test]]
name = "exit_handler_tests"
path = "tests/exit_handler_tests.rs"
[[test]]
name = "fetch_abort_e2e_tests"
path = "tests/fetch_abort_e2e_tests.rs"
[[test]]
name = "fetch_api_tests"
path = "tests/fetch_api_tests.rs"
[[test]]
name = "fetch_c13_minimal"
path = "tests/fetch_c13_minimal.rs"
[[test]]
name = "fetch_e2e_tests"
path = "tests/fetch_e2e_tests.rs"
[[test]]
name = "fetch_headers_e2e_tests"
path = "tests/fetch_headers_e2e_tests.rs"
[[test]]
name = "fetch_init_e2e_tests"
path = "tests/fetch_init_e2e_tests.rs"
[[test]]
name = "fetch_tls_init_e2e_tests"
path = "tests/fetch_tls_init_e2e_tests.rs"
[[test]]
name = "ffi_ptr_view_qsort_e2e_tests"
path = "tests/ffi_ptr_view_qsort_e2e_tests.rs"
[[test]]
name = "final_remaining_integration_tests"
path = "tests/final_remaining_integration_tests.rs"
[[test]]
name = "fs_buffer_write_tests"
path = "tests/fs_buffer_write_tests.rs"
[[test]]
name = "fs_conformance"
path = "tests/node_conformance/fs_conformance.rs"
[[test]]
name = "fs_deep_tests"
path = "tests/fs_deep_tests.rs"
[[test]]
name = "fs_watch_events_tests"
path = "tests/fs_watch_events_tests.rs"
[[test]]
name = "gc_stealth_unit_tests"
path = "tests/gc_stealth_unit_tests.rs"
[[test]]
name = "gc_store_deep_tests"
path = "tests/gc_store_deep_tests.rs"
[[test]]
name = "globals_deep_tests"
path = "tests/globals_deep_tests.rs"
[[test]]
name = "globals_structured_clone_e2e_tests"
path = "tests/globals_structured_clone_e2e_tests.rs"
[[test]]
name = "h3_fetch_tests"
path = "tests/h3_fetch_tests.rs"
[[test]]
name = "http_client_deep_tests"
path = "tests/http_client_deep_tests.rs"
[[test]]
name = "http_conformance"
path = "tests/node_conformance/http_conformance.rs"
[[test]]
name = "http_https_deep_tests"
path = "tests/http_https_deep_tests.rs"
[[test]]
name = "http_te_parity_tests"
path = "tests/http_te_parity_tests.rs"
[[test]]
name = "js_engine_boundary_tests"
path = "tests/js_engine_boundary_tests.rs"
[[test]]
name = "keyobject_export_tests"
path = "tests/keyobject_export_tests.rs"
[[test]]
name = "lockfile_parse_tests"
path = "tests/lockfile_parse_tests.rs"
[[test]]
name = "minimal_event_loop_tests"
path = "tests/minimal_event_loop_tests.rs"
[[test]]
name = "misc_domain_fix_tests"
path = "tests/misc_domain_fix_tests.rs"
[[test]]
name = "module_eval_error_tests"
path = "tests/module_eval_error_tests.rs"
[[test]]
name = "module_timer_keepalive_tests"
path = "tests/module_timer_keepalive_tests.rs"
[[test]]
name = "net_connect_options_e2e_tests"
path = "tests/net_connect_options_e2e_tests.rs"
[[test]]
name = "net_deep_tests"
path = "tests/net_deep_tests.rs"
[[test]]
name = "net_echo_e2e_tests"
path = "tests/net_echo_e2e_tests.rs"
[[test]]
name = "net_socket_pipe_e2e_tests"
path = "tests/net_socket_pipe_e2e_tests.rs"
[[test]]
name = "node_assert_deep_tests"
path = "tests/node_assert_deep_tests.rs"
[[test]]
name = "node_assert_util_tests"
path = "tests/node_assert_util_tests.rs"
[[test]]
name = "node_async_hooks_deep_tests"
path = "tests/node_async_hooks_deep_tests.rs"
[[test]]
name = "node_buffer_tests"
path = "tests/node_buffer_tests.rs"
[[test]]
name = "node_crypto_tests"
path = "tests/node_crypto_tests.rs"
[[test]]
name = "node_dgram_inspector_deep_tests"
path = "tests/node_dgram_inspector_deep_tests.rs"
[[test]]
name = "node_diagnostics_channel_deep_tests"
path = "tests/node_diagnostics_channel_deep_tests.rs"
[[test]]
name = "node_dns_net_tests"
path = "tests/node_dns_net_tests.rs"
[[test]]
name = "node_events_tests"
path = "tests/node_events_tests.rs"
[[test]]
name = "node_fs_tests"
path = "tests/node_fs_tests.rs"
[[test]]
name = "node_http2_server_e2e_tests"
path = "tests/node_http2_server_e2e_tests.rs"
[[test]]
name = "node_http_tests"
path = "tests/node_http_tests.rs"
[[test]]
name = "node_misc_tests"
path = "tests/node_misc_tests.rs"
[[test]]
name = "node_module_deep_tests"
path = "tests/node_module_deep_tests.rs"
[[test]]
name = "node_os_util_tests"
path = "tests/node_os_util_tests.rs"
[[test]]
name = "node_path_tests"
path = "tests/node_path_tests.rs"
[[test]]
name = "node_perf_hooks_deep_tests"
path = "tests/node_perf_hooks_deep_tests.rs"
[[test]]
name = "node_process_env_deep_tests"
path = "tests/node_process_env_deep_tests.rs"
[[test]]
name = "node_querystring_deep_tests"
path = "tests/node_querystring_deep_tests.rs"
[[test]]
name = "node_readline_deep_tests"
path = "tests/node_readline_deep_tests.rs"
[[test]]
name = "node_silent_fake_eradication_tests"
path = "tests/node_silent_fake_eradication_tests.rs"
[[test]]
name = "node_stdlib_wave_tests"
path = "tests/node_stdlib_wave_tests.rs"
[[test]]
name = "node_stream_qs_tests"
path = "tests/node_stream_qs_tests.rs"
[[test]]
name = "node_string_decoder_deep_tests"
path = "tests/node_string_decoder_deep_tests.rs"
[[test]]
name = "node_timers_module_deep_tests"
path = "tests/node_timers_module_deep_tests.rs"
[[test]]
name = "node_timers_tests"
path = "tests/node_timers_tests.rs"
[[test]]
name = "node_tty_deep_tests"
path = "tests/node_tty_deep_tests.rs"
[[test]]
name = "node_url_tests"
path = "tests/node_url_tests.rs"
[[test]]
name = "node_worker_structured_clone_tests"
path = "tests/node_worker_structured_clone_tests.rs"
[[test]]
name = "node_worker_threads_deep_tests"
path = "tests/node_worker_threads_deep_tests.rs"
[[test]]
name = "npm_project_e2e_tests"
path = "tests/npm_project_e2e_tests.rs"
[[test]]
name = "os_deep_tests"
path = "tests/os_deep_tests.rs"
[[test]]
name = "p0_cluster_fork_tests"
path = "tests/p0_cluster_fork_tests.rs"
[[test]]
name = "p0_crypto_kdf_sign_tests"
path = "tests/p0_crypto_kdf_sign_tests.rs"
[[test]]
name = "p0_http_client_ws_tls_tests"
path = "tests/p0_http_client_ws_tls_tests.rs"
[[test]]
name = "p0_refused_net_close_tests"
path = "tests/p0_refused_net_close_tests.rs"
[[test]]
name = "p0_sqlite_params_tests"
path = "tests/p0_sqlite_params_tests.rs"
[[test]]
name = "path_conformance"
path = "tests/node_conformance/path_conformance.rs"
[[test]]
name = "path_deep_tests"
path = "tests/path_deep_tests.rs"
[[test]]
name = "perf_readline_tty_deep_tests"
path = "tests/perf_readline_tty_deep_tests.rs"
[[test]]
name = "permission_bridge_deep_tests"
path = "tests/permission_bridge_deep_tests.rs"
[[test]]
name = "platform_surface_e2e_tests"
path = "tests/platform_surface_e2e_tests.rs"
[[test]]
name = "polish3_deviation_tests"
path = "tests/polish3_deviation_tests.rs"
[[test]]
name = "process_deep_tests"
path = "tests/process_deep_tests.rs"
[[test]]
name = "promise_async_tests"
path = "tests/promise_async_tests.rs"
[[test]]
name = "proxy_tunnel_resumption_tests"
path = "tests/proxy_tunnel_resumption_tests.rs"
[[test]]
name = "querystring_deep_tests"
path = "tests/querystring_deep_tests.rs"
[[test]]
name = "readline_deep_tests"
path = "tests/readline_deep_tests.rs"
[[test]]
name = "realm_persistence_tests"
path = "tests/realm_persistence_tests.rs"
[[test]]
name = "realworld_crypto_workflow_tests"
path = "tests/realworld_crypto_workflow_tests.rs"
[[test]]
name = "realworld_data_pipeline_tests"
path = "tests/realworld_data_pipeline_tests.rs"
[[test]]
name = "realworld_http_service_tests"
path = "tests/realworld_http_service_tests.rs"
[[test]]
name = "require_deep_tests"
path = "tests/require_deep_tests.rs"
[[test]]
name = "require_system_deep_tests"
path = "tests/require_system_deep_tests.rs"
[[test]]
name = "require_timers_tests"
path = "tests/require_timers_tests.rs"
[[test]]
name = "runtime_api_boundary_tests"
path = "tests/runtime_api_boundary_tests.rs"
[[test]]
name = "runtime_deep_tests"
path = "tests/runtime_deep_tests.rs"
[[test]]
name = "rust_boundary_tests"
path = "tests/rust_boundary_tests.rs"
[[test]]
name = "stealth_http_deep_tests"
path = "tests/stealth_http_deep_tests.rs"
[[test]]
name = "strdec_module_deep_tests"
path = "tests/strdec_module_deep_tests.rs"
[[test]]
name = "stream_buffer_assert_tests"
path = "tests/stream_buffer_assert_tests.rs"
[[test]]
name = "stream_conformance"
path = "tests/node_conformance/stream_conformance.rs"
[[test]]
name = "stream_deep_tests"
path = "tests/stream_deep_tests.rs"
[[test]]
name = "stream_p0_fix_tests"
path = "tests/stream_p0_fix_tests.rs"
[[test]]
name = "timers_deep_tests"
path = "tests/timers_deep_tests.rs"
[[test]]
name = "timers_https_tls_tests"
path = "tests/timers_https_tls_tests.rs"
[[test]]
name = "tls_deep_tests"
path = "tests/tls_deep_tests.rs"
[[test]]
name = "tls_sni_server_tests"
path = "tests/tls_sni_server_tests.rs"
[[test]]
name = "uncaught_exception_tests"
path = "tests/uncaught_exception_tests.rs"
[[test]]
name = "url_conformance"
path = "tests/node_conformance/url_conformance.rs"
[[test]]
name = "url_deep_tests"
path = "tests/url_deep_tests.rs"
[[test]]
name = "url_format_query_tests"
path = "tests/url_format_query_tests.rs"
[[test]]
name = "url_parse_query_tests"
path = "tests/url_parse_query_tests.rs"
[[test]]
name = "url_util_os_deep_tests"
path = "tests/url_util_os_deep_tests.rs"
[[test]]
name = "util_conformance"
path = "tests/node_conformance/util_conformance.rs"
[[test]]
name = "util_deep_tests"
path = "tests/util_deep_tests.rs"
[[test]]
name = "uws_link_verification_tests"
path = "tests/uws_link_verification_tests.rs"
[[test]]
name = "vm_codegen_tests"
path = "tests/vm_codegen_tests.rs"
[[test]]
name = "vm_deep_tests"
path = "tests/vm_deep_tests.rs"
[[test]]
name = "wave_b_final_tests"
path = "tests/wave_b_final_tests.rs"
[[test]]
name = "web_api_deep_tests"
path = "tests/web_api_deep_tests.rs"
[[test]]
name = "web_api_tests"
path = "tests/web_api_tests.rs"
[[test]]
name = "web_socket_async_tests"
path = "tests/web_socket_async_tests.rs"
[[test]]
name = "zlib_deep_tests"
path = "tests/zlib_deep_tests.rs"
[[test]]
name = "zlib_silent_tests"
path = "tests/zlib_silent_tests.rs"
[[test]]
name = "zz_probe_scratch_tests"
path = "tests/zz_probe_scratch_tests.rs"
[dependencies.bao_boringssl_bridge]
version = "0.1.0"
[dependencies.bao_cdp_client]
version = "0.1.0"
[dependencies.bao_crypto]
version = "0.1.0"
[dependencies.bao_engine]
version = "0.1.0"
[dependencies.bao_stealth]
version = "0.1.0"
[dependencies.bao_uloop]
version = "0.1.0"
[dependencies.bao_workflow_host]
version = "0.1.0"
[dependencies.bcrypt]
version = "0.19"
[dependencies.bun_alloc]
version = "0.1.0"
[dependencies.bun_ast]
version = "0.1.0"
[dependencies.bun_base64]
version = "0.1.0"
[dependencies.bun_boringssl_sys]
version = "0.1.0"
[dependencies.bun_brotli]
version = "0.1.0"
[dependencies.bun_cares_sys]
version = "0.1.0"
[dependencies.bun_core]
version = "0.1.0"
[dependencies.bun_dns]
version = "0.1.0"
[dependencies.bun_event_loop]
version = "0.1.0"
[dependencies.bun_glob]
version = "0.1.0"
[dependencies.bun_hash]
version = "0.1.0"
[dependencies.bun_http]
version = "0.1.0"
[dependencies.bun_http_types]
version = "0.1.0"
[dependencies.bun_install]
version = "0.1.0"
[dependencies.bun_io]
version = "0.1.0"
[dependencies.bun_lsquic_sys]
version = "0.1.0"
[dependencies.bun_opaque]
version = "0.1.0"
[dependencies.bun_parsers]
version = "0.1.0"
[dependencies.bun_paths]
version = "0.1.0"
[dependencies.bun_picohttp]
version = "0.1.0"
[dependencies.bun_resolver]
version = "0.1.0"
[dependencies.bun_s3_signing]
version = "0.1.0"
[dependencies.bun_semver]
version = "0.1.0"
[dependencies.bun_sha_hmac]
version = "0.1.0"
[dependencies.bun_shell_parser]
version = "0.1.0"
[dependencies.bun_simdutf_sys]
version = "0.1.0"
[dependencies.bun_spawn]
version = "0.1.0"
[dependencies.bun_spawn_sys]
version = "0.1.0"
[dependencies.bun_sys]
version = "0.1.0"
[dependencies.bun_threading]
version = "0.1.0"
[dependencies.bun_url]
version = "0.1.0"
[dependencies.bun_uws]
version = "0.1.0"
[dependencies.bun_uws_sys]
version = "0.1.0"
[dependencies.bun_wyhash]
version = "0.1.0"
[dependencies.bun_zlib]
version = "0.1.0"
[dependencies.bytes]
version = "1"
[dependencies.compact_str]
version = "0.8"
[dependencies.crc32fast]
version = "1"
[dependencies.dashmap]
version = "6"
[dependencies.flate2]
version = "1"
features = ["rust_backend"]
default-features = false
[dependencies.getrandom]
version = "0.4"
[dependencies.hex]
version = "0.4"
[dependencies.libc]
version = "0.2"
[dependencies.libffi]
version = "3"
[dependencies.log]
version = "0.4"
[dependencies.mozjs]
version = "=0.21.4"
package = "bao-mozjs"
[dependencies.mozjs_sys]
version = "=140.13.0-4"
package = "bao-mozjs-sys"
[dependencies.regex]
version = "1"
[dependencies.rusqlite]
version = "0.38"
features = ["bundled"]
[dependencies.rust-argon2]
version = "3.0"
[dependencies.serde_json]
version = "1"
[dependencies.smallvec]
version = "1"
[dependencies.unicode-width]
version = "0.2"
[dev-dependencies.bao_cdp]
version = "0.1.0"
[dev-dependencies.bao_engine]
version = "0.1.0"
[dev-dependencies.bao_uloop]
version = "0.1.0"
[dev-dependencies.cdp-server]
version = "0.1.0"
[dev-dependencies.tempfile]
version = "3"