mirror of
https://github.com/RGBCube/dix
synced 2025-07-28 12:17:45 +00:00
chore: rename to dix
This commit is contained in:
parent
0e27617587
commit
54d47402fe
4 changed files with 22 additions and 20 deletions
28
Cargo.lock
generated
28
Cargo.lock
generated
|
@ -128,6 +128,20 @@ version = "0.1.13"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
|
checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "dix"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"clap",
|
||||||
|
"diff",
|
||||||
|
"env_logger",
|
||||||
|
"log",
|
||||||
|
"regex",
|
||||||
|
"rusqlite",
|
||||||
|
"thiserror",
|
||||||
|
"yansi",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "env_filter"
|
name = "env_filter"
|
||||||
version = "0.1.3"
|
version = "0.1.3"
|
||||||
|
@ -246,20 +260,6 @@ version = "2.7.4"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "nix-diff"
|
|
||||||
version = "0.1.0"
|
|
||||||
dependencies = [
|
|
||||||
"clap",
|
|
||||||
"diff",
|
|
||||||
"env_logger",
|
|
||||||
"log",
|
|
||||||
"regex",
|
|
||||||
"rusqlite",
|
|
||||||
"thiserror",
|
|
||||||
"yansi",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "once_cell"
|
name = "once_cell"
|
||||||
version = "1.21.3"
|
version = "1.21.3"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "nix-diff"
|
name = "dix"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
# nix-diff
|
# dix
|
||||||
|
|
||||||
## diff nix system closures
|
## diff Nix stuff
|
||||||
|
|
||||||
|
Currently only system closures
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
`nix-diff /nix/var/profiles/system-<version>-link /run/current-system`
|
`dix /nix/var/profiles/system-<version>-link /run/current-system`
|
||||||
|
|
|
@ -18,9 +18,9 @@ use error::AppError;
|
||||||
type Result<T> = std::result::Result<T, AppError>;
|
type Result<T> = std::result::Result<T, AppError>;
|
||||||
|
|
||||||
#[derive(Parser, Debug)]
|
#[derive(Parser, Debug)]
|
||||||
#[command(name = "nix-diff")]
|
#[command(name = "dix")]
|
||||||
#[command(version = "1.0")]
|
#[command(version = "1.0")]
|
||||||
#[command(about = "Diff two different system closures", long_about = None)]
|
#[command(about = "Diff Nix stuff", long_about = None)]
|
||||||
#[command(version, about, long_about = None)]
|
#[command(version, about, long_about = None)]
|
||||||
struct Args {
|
struct Args {
|
||||||
path: std::path::PathBuf,
|
path: std::path::PathBuf,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue