aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml30
1 files changed, 30 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..75973d2
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,30 @@
+cargo-features = ["panic-immediate-abort", "profile-rustflags"]
+
+[package]
+name = "qroject"
+version = "1.0.0"
+edition = "2024"
+readme = "README.md"
+license = "0BSD"
+
+[[bin]]
+name = "qroject"
+path = "src/main.rs"
+
+[lib]
+name = "qroject_bash"
+path = "src/qroject-bash.rs"
+crate-type = ["cdylib"]
+
+[profile.release]
+panic = "immediate-abort"
+lto = "y"
+# oh my god args_stub's call to libstd std::env::args_os is indirected
+# like a `call [reloc]` instead of `call addr` unless i pass this??
+# rustflags = ["-Zplt=yes"]
+
+[dependencies]
+bash-builtins = "0.4.1"
+clap = { version = "4.6.0", features = ["derive"] }
+rusqlite = "0.39.0"
+rustix = { version = "1.1.4", features = ["system", "process", "fs"] }