rename project

This commit is contained in:
♥ Minnie ♥ 2025-06-30 22:28:27 +08:00
parent fa47639ef3
commit d631bba13b
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
6 changed files with 14 additions and 14 deletions

20
Cargo.lock generated
View file

@ -45,6 +45,16 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "crsh"
version = "0.1.0"
dependencies = [
"mlua",
"shellexpand",
"shlex",
"whoami",
]
[[package]]
name = "dirs"
version = "6.0.0"
@ -245,16 +255,6 @@ dependencies = [
"thiserror",
]
[[package]]
name = "rush"
version = "0.1.0"
dependencies = [
"mlua",
"shellexpand",
"shlex",
"whoami",
]
[[package]]
name = "rustc-hash"
version = "2.1.1"

View file

@ -1,5 +1,5 @@
[package]
name = "rush"
name = "crsh"
version = "0.1.0"
edition = "2024"

View file

@ -1,3 +1,3 @@
# RuSH
# Crab Shell
Learning rust by making a shell.

View file

View file

@ -15,7 +15,7 @@ pub fn cd(args: &[String]) {
}
pub fn help() {
println!("RuSH v0.1.0");
println!("crsh v0.1.0");
println!("---------------------");
println!("Available Commands:");
println!(" cd - Change directory");

View file

@ -58,7 +58,7 @@ fn main() {
let lua = Lua::new();
// Retreive Lua source code from configuration file.
lua.load("config = require 'rush'")
lua.load("config = require 'crsh'")
.exec()
.expect("Failed to load configuration.");