bun_bunfig 0.1.0

A Rust-native programmable browser runtime built on Servo and SpiderMonkey
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! `bun_bunfig` — bunfig.toml parser and `Arguments::loadConfig` entrypoints.
//!
//! that `bun_install::PackageManager::init` can call
//! `bun.cli.Arguments.loadConfig(_, cli.config, ctx, .InstallCommand)`
//! (PackageManager.zig:801) without a tier-6 dependency or fn-pointer hook.
//! Every dependency of this crate was already a transitive dependency of
//! `bun_install` (via `bun_transpiler` → `bun_bundler`), so no cycle is
//! introduced; this only makes the existing edge direct.

#![allow(non_snake_case)]
pub mod arguments;
pub mod bunfig;

pub use arguments::{load_config, load_config_path, load_config_with_cmd_args};
pub use bunfig::Bunfig;