Skip to content

Commit

Permalink
Merge pull request #52 from mtjhrc/refactor-clap
Browse files Browse the repository at this point in the history
Refactor argument parsing using newer clap derive
  • Loading branch information
slp authored Nov 29, 2023
2 parents 27a6dfb + 90a8299 commit 5494d84
Show file tree
Hide file tree
Showing 17 changed files with 873 additions and 807 deletions.
258 changes: 202 additions & 56 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ edition = "2018"
build = "build.rs"

[dependencies]
clap = "2.33.3"
clap = {version = "4.4.6", features = ["derive"]}
confy = "0.4.0"
libc = "0.2.82"
serde = "1.0.120"
serde_derive = "1.0.120"
text_io = "0.1.8"
nix = {version = "0.27.1", features = ["socket", "fs"]}
2 changes: 1 addition & 1 deletion src/bindings.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2021 Red Hat, Inc.
// SPDX-License-Identifier: Apache-2.0

use libc::c_char;
use libc::{c_char, c_int};

#[link(name = "krun")]
extern "C" {
Expand Down
Loading

0 comments on commit 5494d84

Please sign in to comment.