From 9fd1c2d02dc5bde4f8827fd80d8ac10c32af1803 Mon Sep 17 00:00:00 2001 From: Myrddin Dundragon Date: Fri, 29 Aug 2025 21:08:04 -0400 Subject: [PATCH] Fixed a missed warning and bumped to version 0.2.1 --- tavern/Cargo.toml | 2 +- tavern/src/database.rs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tavern/Cargo.toml b/tavern/Cargo.toml index 73c5e03..c540324 100644 --- a/tavern/Cargo.toml +++ b/tavern/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tavern" -version = "0.2.0" +version = "0.2.1" edition = "2024" description = "A blogging system that will allow you to write your blog in Markdown and then display it in HTML using Dioxus." repository = "/CyberMages/tavern" diff --git a/tavern/src/database.rs b/tavern/src/database.rs index eab167a..4af65f2 100644 --- a/tavern/src/database.rs +++ b/tavern/src/database.rs @@ -7,7 +7,7 @@ use sqlx::{Error, Result}; #[cfg(not(feature = "publisher"))] use sqlx::Row; -use crate::adventurer::{Adventurer, Legend}; +use crate::adventurer::Adventurer; use crate::tale::Tale; #[cfg(feature = "publisher")] @@ -15,6 +15,8 @@ use crate::converter::Converter; #[cfg(not(feature = "publisher"))] use crate::tale::Lore; +#[cfg(not(feature = "publisher"))] +use crate::adventurer::Legend;