chore(crate): action -> setup-lune

This commit is contained in:
Erica Marigold 2023-09-30 14:59:09 +05:30
parent 877d159cf7
commit aa688e693b
No known key found for this signature in database
GPG key ID: 7843994FD1386E35
3 changed files with 23 additions and 28 deletions

View file

@ -2,27 +2,6 @@
# It is not intended for manual editing. # It is not intended for manual editing.
version = 3 version = 3
[[package]]
name = "action"
version = "0.1.0"
dependencies = [
"actions-core",
"anyhow",
"better-panic",
"colored",
"directories",
"home",
"serde",
"serde_json",
"tracing",
"tracing-core",
"tracing-subscriber",
"tracing-unwrap",
"ureq",
"url",
"zip",
]
[[package]] [[package]]
name = "actions-core" name = "actions-core"
version = "0.0.2" version = "0.0.2"
@ -710,6 +689,27 @@ dependencies = [
"serde", "serde",
] ]
[[package]]
name = "setup-lune"
version = "0.1.0"
dependencies = [
"actions-core",
"anyhow",
"better-panic",
"colored",
"directories",
"home",
"serde",
"serde_json",
"tracing",
"tracing-core",
"tracing-subscriber",
"tracing-unwrap",
"ureq",
"url",
"zip",
]
[[package]] [[package]]
name = "sha1" name = "sha1"
version = "0.10.6" version = "0.10.6"

View file

@ -1,5 +1,5 @@
[package] [package]
name = "action" name = "setup-lune"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"

View file

@ -1,6 +1,6 @@
use std::fs::File; use std::fs::File;
use action::{ use setup_lune::{
download::{download_release, install_lune}, download::{download_release, install_lune},
fmt::LogFormatter, fmt::LogFormatter,
}; };
@ -9,11 +9,6 @@ use tracing::Level;
use tracing_unwrap::ResultExt; use tracing_unwrap::ResultExt;
fn main() { fn main() {
println!(
"debug mode: {}",
(core::is_debug() || cfg!(debug_assertions))
);
if cfg!(debug_assertions) { if cfg!(debug_assertions) {
better_panic::install(); better_panic::install();
} }