Skip to content

Commit e125bbd

Browse files
committed
update: toolchain to 09-2023 and revelant changes
1 parent d9df53a commit e125bbd

12 files changed

+1911
-274
lines changed

Cargo.lock

+1,580-251
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+17-2
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,27 @@ version = "0.1.0"
44
authors = ["mTvare6 <[email protected]>"]
55
edition = "2021"
66

7+
[profile.release]
8+
lto = true
9+
codegen-units = 1
10+
strip = true
11+
712
[dependencies]
813
actix-web = "3.3.2"
9-
amethyst = { version = "0.15.3", features = ["empty"] }
14+
amethyst = { version = "0.15.3", features = ["vulkan"] }
1015
aseprite = "0.1.3"
1116
ash = "0.33.3"
17+
aws-sdk-sts = "*"
18+
aws-sdk-sso = "*"
19+
aws-runtime = "*"
1220
backtrace = "0.3.61"
1321
bytes = "1.1.0"
1422
cash = "0.1.5"
1523
chashmap = "2.2.2"
1624
chrono = "0.4.19"
1725
chrono-tz = "0.6.0"
1826
clap = "3.0.0-beta.4"
27+
console-subscriber= "*"
1928
cookie = "0.15.1"
2029
cookie_store = "0.15.0"
2130
crossbeam = "0.8.1"
@@ -39,20 +48,23 @@ gl = "0.14.0"
3948
glam = "0.19.0"
4049
glfw = "0.42.0"
4150
gtk = "0.14.3"
51+
git2 = "*"
4252
handlebars = "4.1.3"
4353
html5ever = "0.25.1"
4454
hyper = "0.14.13"
4555
idna = "0.2.3"
4656
job_scheduler = "1.2.1"
4757
jsonwebtoken = "7.2.0"
58+
# k8s-openapi = { version = "0.15.0" }
59+
# kube-runtime = "*"
4860
legion = "0.4.0"
4961
lettre = "0.10.0-rc.3"
5062
libsqlite3-sys = "0.23.1"
5163
log = "0.4.14"
5264
markup = "0.12.5"
5365
markup5ever_rcdom = "0.1.0"
5466
money = "0.1.0"
55-
mp4parse = "0.12.0"
67+
# mp4parse = "0.12.0"
5668
multipart = "0.18.0"
5769
nix = "0.23.0"
5870
nom = "7.0.0"
@@ -62,13 +74,15 @@ num-derive = "0.3.3"
6274
num-traits = "0.2.14"
6375
once_cell = "1.8.0"
6476
openssl = "0.10.36"
77+
opentelemetry-otlp= "*"
6578
paste = "1.0.5"
6679
pico-args = "0.4.2"
6780
percent-encoding = "2.1.0"
6881
plist = "1.2.1"
6982
pretty_assertions = "1.0.0"
7083
r_i18n = "1.0.1"
7184
rand = "0.8.4"
85+
ratatui-image = { version = "=1.0.0", features = ["serde"] }
7286
regex = "1.5.4"
7387
reqwest = "0.11.5"
7488
ring = "0.16.20"
@@ -83,6 +97,7 @@ uuid = "0.8.2"
8397
uwuify = "0.2.2"
8498
serde = "1.0.130"
8599
serde_json = "1.0.68"
100+
sqlx-mysql = "*"
86101
tempfile = "3.2.0"
87102
textwrap = "0.14.2"
88103
time = "0.3.3"

README.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
🚀 While this depends on more c code than rust(🚀) code to compile, because rust(🚀) is magically **memory safe**, now all c code is memory safe too 🚀
66

7-
🚀 This project is very minimal, it only requires **1092** crates 🚀
7+
🚀 This project is very minimal, it only requires **1247** crates 🚀
88

99
### Building
1010

@@ -20,31 +20,32 @@ To compile this project you need only one library 🚀:
2020
<div>1. atk 🚀</div>
2121
<div>1. pixbuf 🚀</div>
2222
<div>1. gdk 🚀</div>
23+
<div>1. vulkan(moltenVK on mac) 🚀</div>
2324
</br>
24-
<div>Just 1 lib as you can see the number list along the names 🚀</div>
25+
<div>Just a single library 🚀</div>
2526
</br>
2627

2728
You probably have most of them already, if it says something along the words, you know what to search for now
2829

2930
Then you can just `make` and the compiled executable should be located in `./target/release/hello-world` run it or install it with `make install`.
3031

31-
Due to the lightweightness of rust(🚀), unlike node_modules being fairly large for few dependencies, rust(🚀) manages compile caches efficiently and stores them to storage to save compile times! Just **33G** target folder, the compile time is only around **2 hours and 30 minutes** on my mac on release mode
32+
Due to the lightweightness of rust(🚀), unlike node_modules being fairly large for few dependencies, rust(🚀) manages compile caches efficiently and stores them to storage to save compile times! Just **37G** target folder on couple of compilation(dev+release), the compile time is only around **2 hours and 30 minutes** on my mac air on release mode
3233

33-
![🚀](/ast/before.png)
34+
![🚀](/ast/unclean.png)
3435

35-
A clean build makes it take around _3.8G_
36+
A clean build makes it take around _4.7G_
3637

37-
![🚀](/ast/after.png)
38+
![🚀](/ast/clean.png)
3839

3940
The CPU usage is pretty minimal too (release mode)
4041

41-
![🚀](/ast/cpu_usage.png)
42-
![🚀](/ast/cpu_temp.png)
42+
![🚀](/ast/cpu.png)
4343

44-
![🚀](/ast/lib_benchmark.png)
4544

4645
It is slower than echo but memory safety comes at a cost! We need to be memory chad and blazing pure and lightning based
4746

47+
![🚀](/ast/lib_benchmark.png)
48+
4849
Benchmark by [cypercine](https://github.com/mTvare6/cypercine)
4950

5051
### Installation

ast/after.png

-6.88 KB
Binary file not shown.

ast/before.png

-7.05 KB
Binary file not shown.

ast/clean.png

7.3 KB
Loading

ast/cpu.png

20.1 KB
Loading

ast/cpu_temp.png

-9.94 KB
Binary file not shown.

ast/cpu_usage.png

-17.9 KB
Binary file not shown.

ast/unclean.png

6.38 KB
Loading

rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2022-06-26
1+
nightly-2023-09-26

0 commit comments

Comments
 (0)