aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-05-17 13:06:37 +0200
committerAlex Auvolat <alex@adnab.me>2023-05-17 13:06:37 +0200
commit217d4299379b70d1b081cb88e208ab5f2d1808a7 (patch)
tree3086149203b8cf9f0280c9b8e784eb893b0d7465
parenta1cec2cd60d64208caa2cbd11d8e6f885e80f630 (diff)
downloadgarage-217d4299379b70d1b081cb88e208ab5f2d1808a7.tar.gz
garage-217d4299379b70d1b081cb88e208ab5f2d1808a7.zip
fix clippy lint in format-table crateformat_table-v0.1.1split-format-table
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.nix12
-rw-r--r--Cargo.toml2
-rw-r--r--src/format-table/Cargo.toml2
-rw-r--r--src/format-table/lib.rs2
5 files changed, 10 insertions, 10 deletions
diff --git a/Cargo.lock b/Cargo.lock
index f5073b5a..6800ba03 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1027,7 +1027,7 @@ dependencies = [
[[package]]
name = "format_table"
-version = "0.1.0"
+version = "0.1.1"
[[package]]
name = "fs2"
diff --git a/Cargo.nix b/Cargo.nix
index 011be499..577c8e87 100644
--- a/Cargo.nix
+++ b/Cargo.nix
@@ -33,7 +33,7 @@ args@{
ignoreLockHash,
}:
let
- nixifiedLockHash = "b39537e7b33c2c9da9527685b53db0e2b0f6093ee4e627aef4f7a7cb0e44c231";
+ nixifiedLockHash = "b57cac5992bf6a665ce564a43f629f165268920af9035aa11fda2a8dfe9738f6";
workspaceSrc = if args.workspaceSrc == null then ./. else args.workspaceSrc;
currentLockHash = builtins.hashFile "sha256" (workspaceSrc + /Cargo.lock);
lockHashIgnored = if ignoreLockHash
@@ -66,7 +66,7 @@ in
garage_api = rustPackages.unknown.garage_api."0.8.2";
garage_web = rustPackages.unknown.garage_web."0.8.2";
garage = rustPackages.unknown.garage."0.8.2";
- format_table = rustPackages.unknown.format_table."0.1.0";
+ format_table = rustPackages.unknown.format_table."0.1.1";
k2v-client = rustPackages.unknown.k2v-client."0.0.2";
};
"registry+https://github.com/rust-lang/crates.io-index".addr2line."0.19.0" = overridableMkRustCrate (profileName: rec {
@@ -1450,9 +1450,9 @@ in
};
});
- "unknown".format_table."0.1.0" = overridableMkRustCrate (profileName: rec {
+ "unknown".format_table."0.1.1" = overridableMkRustCrate (profileName: rec {
name = "format_table";
- version = "0.1.0";
+ version = "0.1.1";
registry = "unknown";
src = fetchCrateLocal (workspaceSrc + "/src/format-table");
});
@@ -1655,7 +1655,7 @@ in
backtrace = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".backtrace."0.3.67" { inherit profileName; }).out;
bytes = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".bytes."1.4.0" { inherit profileName; }).out;
bytesize = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".bytesize."1.1.0" { inherit profileName; }).out;
- format_table = (rustPackages."unknown".format_table."0.1.0" { inherit profileName; }).out;
+ format_table = (rustPackages."unknown".format_table."0.1.1" { inherit profileName; }).out;
futures = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".futures."0.3.25" { inherit profileName; }).out;
futures_util = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".futures-util."0.3.28" { inherit profileName; }).out;
garage_api = (rustPackages."unknown".garage_api."0.8.2" { inherit profileName; }).out;
@@ -2650,7 +2650,7 @@ in
dependencies = {
base64 = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".base64."0.21.0" { inherit profileName; }).out;
${ if rootFeatures' ? "k2v-client/clap" || rootFeatures' ? "k2v-client/cli" then "clap" else null } = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".clap."4.2.7" { inherit profileName; }).out;
- ${ if rootFeatures' ? "k2v-client/cli" || rootFeatures' ? "k2v-client/format_table" then "format_table" else null } = (rustPackages."unknown".format_table."0.1.0" { inherit profileName; }).out;
+ ${ if rootFeatures' ? "k2v-client/cli" || rootFeatures' ? "k2v-client/format_table" then "format_table" else null } = (rustPackages."unknown".format_table."0.1.1" { inherit profileName; }).out;
http = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".http."0.2.9" { inherit profileName; }).out;
hyper_rustls = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".hyper-rustls."0.23.2" { inherit profileName; }).out;
log = (rustPackages."registry+https://github.com/rust-lang/crates.io-index".log."0.4.17" { inherit profileName; }).out;
diff --git a/Cargo.toml b/Cargo.toml
index 8ce8357b..ee2e234d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,7 +17,7 @@ members = [
default-members = ["src/garage"]
[workspace.dependencies]
-format_table = { version = "0.1.0", path = "src/format-table" }
+format_table = { version = "0.1.1", path = "src/format-table" }
garage_api = { version = "0.8.2", path = "src/api" }
garage_block = { version = "0.8.2", path = "src/block" }
garage_db = { version = "0.8.2", path = "src/db", default-features = false }
diff --git a/src/format-table/Cargo.toml b/src/format-table/Cargo.toml
index b2f074d7..9e31e211 100644
--- a/src/format-table/Cargo.toml
+++ b/src/format-table/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "format_table"
-version = "0.1.0"
+version = "0.1.1"
authors = ["Alex Auvolat <alex@adnab.me>"]
edition = "2018"
license = "AGPL-3.0"
diff --git a/src/format-table/lib.rs b/src/format-table/lib.rs
index 72fd10b2..55252ba9 100644
--- a/src/format-table/lib.rs
+++ b/src/format-table/lib.rs
@@ -5,7 +5,7 @@
//! ```rust
//! let mut table = vec!["product\tquantity\tprice".to_string()];
//! for (p, q, r) in [("tomato", 12, 15), ("potato", 10, 20), ("rice", 5, 12)] {
-//! table.push(format!("{}\t{}\t{}", p, q, r));
+//! table.push(format!("{}\t{}\t{}", p, q, r));
//! }
//! format_table::format_table(table);
//! ```