Skip to content

Commit 3106ce8

Browse files
committed
Merge branch 'feature/tower-sessions' into main
2 parents 6f61847 + 0ad0d75 commit 3106ce8

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

Cargo.lock

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

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ Starting project template for Rust Axum backend and Svelte frontend. Simple Sin
55
![](FullScreenCapture.png)
66
![](MobileScreenCapture.png)
77

8+
# New Version 0.4.2
9+
- migration of `axum-sessions` to `tower-sessions` see [pr#14](https://github.com/jbertovic/svelte-axum-project/pull/14)
10+
- removal of secret key warning due to migration
11+
812
# New Version 0.4.1
913
- bumped version on backend; `axum` to 0.6.20, `axum-sessions` to 0.5, `tower-http` to 0.4
1014
- bumped versions on front-end; `vite-plugin-svelte` to 2.4.2, `svelte` to 4.0.5, `vite` to 4.4.5

back_end/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "svelte-axum-project"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
edition = "2021"
55
repository = "https://github.com/jbertovic/svelte-axum-project"
66
keywords = ["template", "backend", "frontend", "axum", "svelte"]

back_end/src/main.rs

-3
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ async fn shutdown_signal() {
7474
// Variables from Environment or default to configure server
7575
// port, host, secret
7676
fn from_env() -> (String, String) {
77-
if env::var("SERVER_SECRET").is_err() {
78-
warn!("env var SERVER_SECRET should be set and unique (64 bytes long)");
79-
}
8077
(
8178
env::var("SERVER_PORT")
8279
.ok()

front_end/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "svelte-axum-project",
33
"description": "svelte front end with axum backend template",
44
"author": "Jas Bertovic",
5-
"version": "0.4.1",
5+
"version": "0.4.2",
66
"type": "module",
77
"scripts": {
88
"dev": "vite",

0 commit comments

Comments
 (0)