Compare commits

..
2 Commits
Author SHA1 Message Date
Overlord 5c262fe425 Initialize Rust project with essential configuration and dependencies. 2026-10-16 16:03:36 +02:00
Overlord 1d567f1ba4 Update .gitignore 2026-10-15 22:22:49 +02:00
6 changed files with 67 additions and 15 deletions

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = [
"-C", "link-arg=-fuse-ld=mold",
]
+3 -14
View File
@@ -1,25 +1,14 @@
# ---> Strict
.*
!.git*
!.cargo*
*.md
!README.md
# ---> Rust
# Generated by Cargo
# will have compiled files and executables
debug/
target/
# These are backup files generated by rustfmt
**/*.rs.bk
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
# RustRover
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
*.lock
+52
View File
@@ -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"
+2 -1
View File
@@ -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.
+4
View File
@@ -0,0 +1,4 @@
[toolchain]
channel = "stable"
components = ["clippy", "rustfmt"]
targets = ["x86_64-unknown-linux-musl"]
+1
View File
@@ -0,0 +1 @@
fn main() {}