flake.lock: bump, Cargo.{toml,lock}: update inputs, fmt, lint

This commit is contained in:
2026-01-02 18:50:36 +09:00
parent bbe4cf05cb
commit 7cd0e879dc
5 changed files with 276 additions and 286 deletions

539
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,9 +4,9 @@ version = "0.1.0"
edition = "2024" edition = "2024"
[dependencies] [dependencies]
clap = { version = "4.5.13", features = ["derive"] } clap = { version = "4.5.53", features = ["derive"] }
clap_complete = "4.5.47" clap_complete = "4.5.64"
zbus = "5.5.0" zbus = "5.12.0"
[profile.release] [profile.release]
strip = true strip = true

12
flake.lock generated
View File

@@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1742422364, "lastModified": 1767116409,
"narHash": "sha256-mNqIplmEohk5jRkqYqG19GA8MbQ/D4gQSK0Mu4LvfRQ=", "narHash": "sha256-5vKw92l1GyTnjoLzEagJy5V5mDFck72LiQWZSOnSicw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a84ebe20c6bc2ecbcfb000a50776219f48d134cc", "rev": "cad22e7d996aea55ecab064e84834289143e44a0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -29,11 +29,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1742524367, "lastModified": 1767322002,
"narHash": "sha256-KzTwk/5ETJavJZYV1DEWdCx05M4duFCxCpRbQSKWpng=", "narHash": "sha256-yHKXXw2OWfIFsyTjduB4EyFwR0SYYF0hK8xI9z4NIn0=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "70bf752d176b2ce07417e346d85486acea9040ef", "rev": "03c6e38661c02a27ca006a284813afdc461e9f7e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -42,8 +42,9 @@
devShells = forAllSystems (system: pkgs: toolchain: { devShells = forAllSystems (system: pkgs: toolchain: {
default = pkgs.mkShell { default = pkgs.mkShell {
nativeBuildInputs = [ nativeBuildInputs = with pkgs; [
toolchain toolchain
cargo-edit
]; ];
RUST_SRC_PATH = "${toolchain}/lib/rustlib/src/rust/library"; RUST_SRC_PATH = "${toolchain}/lib/rustlib/src/rust/library";

View File

@@ -1,6 +1,6 @@
mod dbus_thumbnailer_api; mod dbus_thumbnailer_api;
use clap::{CommandFactory, Parser, command}; use clap::{CommandFactory, Parser};
use clap_complete::{Shell, generate}; use clap_complete::{Shell, generate};
use dbus_thumbnailer_api::ThumbnailerProxyBlocking; use dbus_thumbnailer_api::ThumbnailerProxyBlocking;
use zbus::{blocking::Connection, proxy::CacheProperties}; use zbus::{blocking::Connection, proxy::CacheProperties};