From f08c46bb383b8e8aeb0a395946ecc5cd72394fe4 Mon Sep 17 00:00:00 2001
From: rm-dr <96270320+rm-dr@users.noreply.github.com>
Date: Sat, 16 Nov 2024 19:10:49 -0800
Subject: [PATCH 1/2] Clippy fixes
---
copperd/lib/itemdb/src/client/client/item.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/copperd/lib/itemdb/src/client/client/item.rs b/copperd/lib/itemdb/src/client/client/item.rs
index 72429ffc..28349aa0 100644
--- a/copperd/lib/itemdb/src/client/client/item.rs
+++ b/copperd/lib/itemdb/src/client/client/item.rs
@@ -275,8 +275,8 @@ impl ItemdbClient {
)
.bind(i64::from(new_item))
.bind(i64::from(attr.id))
- .bind(&value_ser)
- .bind(&unique_hash)
+ .bind(value_ser)
+ .bind(unique_hash)
.execute(&mut *t)
.await;
@@ -310,7 +310,7 @@ impl ItemdbClient {
",
)
.bind(i64::from(attr.id))
- .bind(&unique_hash)
+ .bind(unique_hash)
.fetch_all(&mut **trans)
.await
{
From e9a2994e294809adcae8993989de0da046d506a0 Mon Sep 17 00:00:00 2001
From: rm-dr <96270320+rm-dr@users.noreply.github.com>
Date: Sat, 16 Nov 2024 19:22:04 -0800
Subject: [PATCH 2/2] badge polish
---
README.md | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 0f70be6c..3d0b0b5e 100644
--- a/README.md
+++ b/README.md
@@ -10,9 +10,14 @@
-![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/rm-dr/copper)
-![GitHub Repo stars](https://img.shields.io/github/stars/rm-dr/copper)
-![GitHub License](https://img.shields.io/github/license/rm-dr/copper)
+![GitHub Repo stars](https://img.shields.io/github/stars/rm-dr/copper?style=flat)
+![GitHub License](https://img.shields.io/github/license/rm-dr/copper?style=flat)
+![Issues](https://img.shields.io/github/issues/rm-dr/copper?style=flat)
+![Pull Requests](https://img.shields.io/github/issues-pr/rm-dr/copper)
+
+![cargo test](https://img.shields.io/github/actions/workflow/status/rm-dr/copper/cargo-test.yml?label=cargo%20test)
+![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/rm-dr/copper/lints.yml?label=lints&cacheSeconds=30)
+
**Copper** is the universal, automatic digital library.
@@ -24,7 +29,7 @@ Copper is the universal digital library, aiming to replace ad-hoc solutions like
It provides powerful data processing pipelines and universal item search, editing, and viewing
## 🚨 Warning 🚨
-This project is still very incomplete, and is nowhere near ready for daily use. \
+Copper is still very incomplete, and is nowhere near ready for daily use. \
This might change once the following projects are resolved:
- [Backend v1](https://github.com/rm-dr/copper/milestone/1)
- [Webui v1](https://github.com/rm-dr/copper/milestone/2)