From e0f991cda3d6c457953a92c8902c04967409128d Mon Sep 17 00:00:00 2001 From: Cosmic Horror Date: Sun, 2 Feb 2025 14:58:44 -0700 Subject: [PATCH] release: Update version to 0.5.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/interpreter/tests.rs | 2 +- src/panic_hook.rs | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6c02af4..4eb847a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1877,7 +1877,7 @@ dependencies = [ [[package]] name = "inlyne" -version = "0.5.0-dev" +version = "0.5.0" dependencies = [ "anstream", "anstyle", diff --git a/Cargo.toml b/Cargo.toml index 444dad2..fa0c00d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ members = [ [package] name = "inlyne" -version = "0.5.0-dev" +version = "0.5.0" description = "Introducing Inlyne, a GPU powered yet browserless tool to help you quickly view markdown files in the blink of an eye." edition = "2021" authors = [ diff --git a/src/interpreter/tests.rs b/src/interpreter/tests.rs index 6adb253..cf4d102 100644 --- a/src/interpreter/tests.rs +++ b/src/interpreter/tests.rs @@ -989,5 +989,5 @@ fn custom_user_agent() { let server::FromServer::UserAgent(Some(user_agent)) = recv_ua.recv().unwrap() else { panic!(); }; - insta::assert_snapshot!(user_agent, @"inlyne 0.5.0-dev https://github.com/Inlyne-Project/inlyne"); + insta::assert_snapshot!(user_agent, @"inlyne 0.5.0 https://github.com/Inlyne-Project/inlyne"); } diff --git a/src/panic_hook.rs b/src/panic_hook.rs index a7fe781..dd0371e 100644 --- a/src/panic_hook.rs +++ b/src/panic_hook.rs @@ -221,12 +221,12 @@ mod tests { let report_path = report.persist().unwrap(); let contents = std::fs::read_to_string(&report_path).unwrap(); - insta::assert_snapshot!(contents, @r###" + insta::assert_snapshot!(contents, @r" # Crash Report | Name | `inlyne` | | ---: | :--- | - | Version | `0.5.0-dev` | + | Version | `0.5.0` | | Operating System | [REDACTED] | `````text @@ -248,6 +248,6 @@ mod tests { --- - "###); + "); } }