Clean up some package stuff

This commit is contained in:
Michael Mikovsky
2026-01-27 15:12:20 -07:00
parent 2aa61e80eb
commit 2edb4f3187
7 changed files with 17 additions and 36 deletions
Generated
+4 -4
View File
@@ -3923,18 +3923,17 @@ checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
[[package]] [[package]]
name = "unshell" name = "unshell"
version = "0.1.0" version = "0.0.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"serde", "serde",
"serde_json", "serde_json",
"unshell-crypt",
"unshell-obfuscate", "unshell-obfuscate",
] ]
[[package]] [[package]]
name = "unshell-crypt" name = "unshell-crypt"
version = "0.1.0" version = "0.0.0"
dependencies = [ dependencies = [
"aes", "aes",
"block-padding 0.4.2", "block-padding 0.4.2",
@@ -3948,7 +3947,7 @@ dependencies = [
[[package]] [[package]]
name = "unshell-gui" name = "unshell-gui"
version = "0.1.0" version = "0.0.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"eframe", "eframe",
@@ -3956,6 +3955,7 @@ dependencies = [
"egui-async", "egui-async",
"egui_extras", "egui_extras",
"egui_tiles", "egui_tiles",
"log",
"reqwest", "reqwest",
"serde", "serde",
"serde_json", "serde_json",
+7 -1
View File
@@ -2,9 +2,15 @@ cargo-features = ["trim-paths"]
[package] [package]
name = "unshell" name = "unshell"
edition = "2024"
[workspace.package]
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
authors = ["ASTATIN3"]
include = ["LICENSE-APACHE", "LICENSE-MIT", "**/*.rs", "Cargo.toml"]
[workspace] [workspace]
members = [ members = [
# Binaries # Binaries
@@ -28,7 +34,7 @@ serde = { workspace = true }
serde_json = { workspace = true } serde_json = { workspace = true }
unshell-obfuscate = {path = "./unshell-obfuscate"} unshell-obfuscate = {path = "./unshell-obfuscate"}
unshell-crypt = {path = "./unshell-crypt"} # unshell-crypt = {path = "./unshell-crypt"}
[workspace.dependencies] [workspace.dependencies]
#### ####
+1 -1
View File
@@ -11,7 +11,7 @@ pub use error::{ModuleError, Result};
pub use announcement::Announcement; pub use announcement::Announcement;
// Re-exports // Re-exports
pub use unshell_crypt; // pub use unshell_crypt;
pub use unshell_obfuscate; pub use unshell_obfuscate;
// pub trait Component { // pub trait Component {
-1
View File
@@ -1,6 +1,5 @@
[package] [package]
name = "unshell-crypt" name = "unshell-crypt"
version = "0.1.0"
edition = "2024" edition = "2024"
[dependencies] [dependencies]
+5 -8
View File
@@ -1,12 +1,7 @@
[package] [package]
name = "unshell-gui" name = "unshell-gui"
version = "0.1.0"
edition = "2024" edition = "2024"
authors = ["ASTATIN3"]
include = ["LICENSE-APACHE", "LICENSE-MIT", "**/*.rs", "Cargo.toml"]
rust-version = "1.88"
[lib] [lib]
crate-type = ["cdylib"] crate-type = ["cdylib"]
@@ -18,7 +13,7 @@ targets = [
] ]
[dependencies] [dependencies]
unshell = {path="../"} unshell = { path="../" }
# log = "0.4.27" # log = "0.4.27"
chrono = { workspace = true } chrono = { workspace = true }
@@ -26,6 +21,7 @@ serde = { workspace = true }
serde_json = { workspace = true } serde_json = { workspace = true }
reqwest = {version = "0.12.26", features=["json"]} reqwest = {version = "0.12.26", features=["json"]}
log = "0.4.29"
# Stuff for app functionality # Stuff for app functionality
egui = "0.33.0" egui = "0.33.0"
@@ -44,5 +40,6 @@ egui-async = "0.2.6"
# Web Stuff # Web Stuff
wasm-bindgen-futures = "0.4.50" wasm-bindgen-futures = "0.4.50"
wasm-bindgen = "0.2.106" wasm-bindgen = "0.2.108"
web-sys = {version = "0.3.70", features = ['Headers', 'Request', 'RequestInit', 'RequestMode', 'Response', 'Window']} # web-sys = "0.3.85"
web-sys = { version = "0.3.85", features = ["Headers", "Request", "RequestInit", "RequestMode", "Response", "Window"] }
-1
View File
@@ -1,6 +1,5 @@
[package] [package]
name = "unshell-server" name = "unshell-server"
# version = "0.1.0"
edition = "2024" edition = "2024"
[features] [features]
-20
View File
@@ -1,20 +0,0 @@
# curl -w '\n' \
# -H 'Content-Type: application/json' \
# -d '{"username":"foo","password":"bar"}' \
# http://localhost:3000/api/auth
curl -s \
-w '\n' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjQ2NjU1ODMsImlhdCI6MTc2NDYyMjM4MywiZW1haWwiOiJmb28ifQ.NeStaGwWBGS825rF11TOH_e79RWEL_2o3SY9jZ5CX20' \
-d "jwbrjwbremnwebrnmwemnrbnmwerbnmwer" \
http://localhost:3000/api/test
curl -s \
-w '\n' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjQ2NjU1ODMsImlhdCI6MTc2NDYyMjM4MywiZW1haWwiOiJmb28ifQ.NeStaGwWBGS825rF11TOH_e79RWEL_2o3SY9jZ5CX20' \
http://localhost:3000/api/test/test2