Bump tabled from 0.5.0 to 0.6.0 (#583)

* Bump tabled from 0.5.0 to 0.6.0

Bumps [tabled](https://github.com/zhiburt/tabled) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/zhiburt/tabled/releases)
- [Changelog](https://github.com/zhiburt/tabled/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zhiburt/tabled/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: tabled
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* #[field] #[header] in Tabled macro was renamed to #[tabled].

* Fix tabled rename field

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias <matthias-endler@gmx.net>
This commit is contained in:
dependabot[bot] 2022-04-06 01:02:12 +02:00 committed by GitHub
parent 6ebc9fed4b
commit 0d6f84217f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

12
Cargo.lock generated
View file

@ -2134,9 +2134,9 @@ dependencies = [
[[package]]
name = "papergrid"
version = "0.2.1"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c2b5b9ea36abb56e4f8a29889e67f878ebc4ab43c918abe32e85a012d27b819"
checksum = "63709d10e2c2ec58f7bd91d8258d27ce80de090064b0ddf3a4bf38b907b61b8a"
dependencies = [
"unicode-width",
]
@ -3095,9 +3095,9 @@ dependencies = [
[[package]]
name = "tabled"
version = "0.5.0"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85fda0a52a50c85604747c6584cc79cfe6c7b6ee2349ffed082f965bdbef77ef"
checksum = "97353139cc8a4e3f726e54f78081883d1c133b8e1834f55f168122f99f989717"
dependencies = [
"papergrid",
"tabled_derive",
@ -3105,9 +3105,9 @@ dependencies = [
[[package]]
name = "tabled_derive"
version = "0.2.0"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a224735cbc8c30f06e52dc3891dc4b8eed07e5d4c8fb6f4cb6a839458e5a6465"
checksum = "278ea3921cee8c5a69e0542998a089f7a14fa43c9c4e4f9951295da89bd0c943"
dependencies = [
"proc-macro2",
"quote",

View file

@ -36,7 +36,7 @@ ring = "0.16.20"
serde = { version = "1.0.133", features = ["derive"] }
serde_json = "1.0.79"
structopt = "0.3.26"
tabled = "0.5.0"
tabled = "0.6.0"
tokio = { version = "1.16.1", features = ["full"] }
toml = "0.5.8"
futures = "0.3.21"

View file

@ -8,9 +8,9 @@ use crate::stats::ResponseStats;
#[derive(Tabled)]
struct StatsTableEntry {
#[header("Status")]
#[tabled(rename = "Status")]
status: &'static str,
#[header("Count")]
#[tabled(rename = "Count")]
count: usize,
}