aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 75973d2ec92c9f2482c6484c0d691a7a31144dc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"] }