Wrong feature flag name
All checks were successful
Build and push Docker image / build (push) Successful in 6m13s
Build and push Docker image / deploy (push) Successful in 40s

This commit is contained in:
toast 2025-01-03 20:01:42 +11:00
parent 1ffb0fdb9d
commit 31f3d6854f
4 changed files with 8 additions and 8 deletions

2
Cargo.lock generated
View File

@ -1093,7 +1093,7 @@ dependencies = [
[[package]]
name = "kon"
version = "0.6.3"
version = "0.6.4"
dependencies = [
"kon_cmds",
"kon_libs",

View File

@ -1,6 +1,6 @@
[package]
name = "kon"
version = "0.6.3"
version = "0.6.4"
edition = "2024"
[workspace]

View File

@ -1,7 +1,7 @@
// https://cdn.toast-server.net/RustFSHiearchy.png
// Using the new filesystem hierarchy
#[cfg(feature = "production")]
#[cfg(feature = "rss")]
use {
kon_tasks::{
rss,
@ -74,7 +74,7 @@ async fn event_processor(
framework: PoiseFwCtx<'_>,
event: &FullEvent
) -> KonResult<()> {
#[cfg(feature = "production")]
#[cfg(feature = "rss")]
if let FullEvent::Ready { .. } = event {
let thread_id = format!("{:?}", current().id());
let thread_num: String = thread_id.chars().filter(|c| c.is_ascii_digit()).collect();

View File

@ -1,7 +1,7 @@
#[cfg(feature = "production")]
#[cfg(feature = "rss")]
mod rss;
#[cfg(feature = "production")]
#[cfg(feature = "rss")]
pub use rss::rss;
use {
@ -20,7 +20,7 @@ use {
tokio::task::spawn
};
#[cfg(feature = "production")]
#[cfg(feature = "rss")]
fn task_info(
name: &str,
message: &str
@ -28,7 +28,7 @@ fn task_info(
println!("TaskScheduler[{name}]: {message}")
}
#[cfg(feature = "production")]
#[cfg(feature = "rss")]
fn task_err(
name: &str,
message: &str