Initialize Rust project with essential configuration and dependencies.
This commit is contained in:
1 parent
1d567f1ba4
commit
5c262fe425
6 files changed
+66
-1
No files matched your search
@@ -0,0 +1,5 @@
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "clang"
|
||||
rustflags = [
|
||||
"-C", "link-arg=-fuse-ld=mold",
|
||||
]
|
||||
@@ -1,5 +1,6 @@
|
||||
.*
|
||||
!.git*
|
||||
!.cargo*
|
||||
|
||||
*.md
|
||||
!README.md
|
||||
@@ -10,3 +11,4 @@ target/
|
||||
|
||||
**/*.rs.bk
|
||||
*.pdb
|
||||
*.lock
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
[package]
|
||||
name = "keel"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
description = "Pacman hook guard that blocks partial-upgrade ABI skew and rolls back broken updates via btrfs snapshots."
|
||||
license = "AGPL-3.0-or-later"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
# pacman databases, versions and config, without libalpm
|
||||
alpm-db = "0.3"
|
||||
alpm-repo-db = "0.2"
|
||||
alpm-types = "0.13"
|
||||
pacmanconf = "3.1"
|
||||
|
||||
object = { version = "0.40", default-features = false, features = ["read_core", "elf", "std"] }
|
||||
tar = "0.4"
|
||||
ruzstd = "0.9"
|
||||
|
||||
anyhow = "1"
|
||||
bincode = { version = "2", features = ["serde"] }
|
||||
clap = { version = "4.6", features = ["derive"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
toml = "1.1"
|
||||
blake3 = "1.8"
|
||||
rayon = "1.12"
|
||||
|
||||
[profile.dev]
|
||||
lto = false
|
||||
opt-level = 0
|
||||
codegen-units = 256
|
||||
incremental = true
|
||||
debug = true
|
||||
debug-assertions = true
|
||||
overflow-checks = true
|
||||
panic = "unwind"
|
||||
strip = "none"
|
||||
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 2
|
||||
|
||||
[profile.release]
|
||||
lto = "fat"
|
||||
opt-level = 3
|
||||
codegen-units = 1
|
||||
incremental = false
|
||||
debug = false
|
||||
debug-assertions = false
|
||||
overflow-checks = false
|
||||
panic = "abort"
|
||||
strip = "symbols"
|
||||
@@ -1,3 +1,4 @@
|
||||
# keel
|
||||
|
||||
Pacman hook guard for Arch/CachyOS: blocks partial-upgrade ABI skew before it installs, and rolls back via snapper (GRUB, Limine) when an update breaks boot.
|
||||
Pacman hook guard for Arch/CachyOS: blocks partial-upgrade ABI skew before it installs,
|
||||
and rolls back via snapper (GRUB, Limine) when an update breaks boot.
|
||||
@@ -0,0 +1,4 @@
|
||||
[toolchain]
|
||||
channel = "stable"
|
||||
components = ["clippy", "rustfmt"]
|
||||
targets = ["x86_64-unknown-linux-musl"]
|
||||
@@ -0,0 +1 @@
|
||||
fn main() {}
|
||||
Reference in new issue
Block a user