From ff610920bc1d7ea229d2801e41fadcb6b51c0163 Mon Sep 17 00:00:00 2001 From: pjh456 <147148383@qq.com> Date: Fri, 5 Jun 2026 01:04:31 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=E6=A0=B9=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=20Cargo.toml=20=E5=B7=A5=E4=BD=9C=E5=8C=BA=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Cargo.toml diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 00000000..9c67a16d --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,43 @@ +[workspace] +resolver = "2" +members = [ + "crates/oxide_parser", + "crates/oxide_compiler", + "crates/oxide_vm", + "crates/oxide_kernel", + "crates/oxide_api", + "crates/oxide_cli", +] + +[workspace.package] +version = "0.1.0" +edition = "2021" +license = "MIT" +rust-version = "1.80" + +[workspace.dependencies] +oxc_parser = "0.134.0" +oxc_allocator = "0.134.0" +oxc_ast = "0.134.0" +oxc_span = "0.134.0" +oxc_diagnostics = "0.134.0" +oxc_syntax = "0.134.0" +clap = { version = "4", features = ["derive"] } +rustyline = "14" +ansi_term = "0.12" +serde = "1" +serde_json = "1" +dashmap = "6" +rayon = "1" +bumpalo = "3" +hashbrown = "0.14" + +[workspace.lints.clippy] +all = { level = "deny", priority = -1 } +warnings = { level = "deny", priority = -1 } + +[profile.release] +opt-level = 3 +lto = true +codegen-units = 1 +panic = "abort"