Skip to content

Commit 5d75ddd

Browse files
committed
refactor: big refactoring
Signed-off-by: Jan Zachmann <[email protected]>
1 parent a87371a commit 5d75ddd

15 files changed

+962
-1006
lines changed

Cargo.lock

Lines changed: 169 additions & 170 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[package]
22
authors = ["[email protected]"]
33
description = "WebService providing access to omnect device features."
4-
edition = "2021"
4+
edition = "2024"
55
homepage = "https://www.omnect.io/home"
66
license = "MIT OR Apache-2.0"
77
name = "omnect-ui"
88
readme = "README.md"
99
repository = "[email protected]:omnect/omnect-ui.git"
10-
version = "0.14.1"
10+
version = "0.14.2"
1111
build = "src/build.rs"
1212

1313
[dependencies]
@@ -16,9 +16,9 @@ actix-multipart = { version = "0.7", default-features = false, features = [
1616
"tempfile",
1717
"derive"
1818
]}
19-
actix-rt = { version = "2.10", default-features = false }
20-
actix-session = { version = "0.10.1", features = ["cookie-session"] }
21-
actix-web = { version = "4.9", default-features = false, features = [
19+
actix-session = { version = "0.10", features = ["cookie-session"] }
20+
actix-server = { version = "2.6", default-features = false }
21+
actix-web = { version = "4.11", default-features = false, features = [
2222
"macros",
2323
"rustls-0_23",
2424
] }
@@ -28,16 +28,17 @@ argon2 = { version = "0.5", default-features = false, features = ["password-hash
2828
base64 = { version = "0.22", default-features = false }
2929
env_logger = { version = "0.11", default-features = false }
3030
http-body-util = { version = "0.1", default-features = false }
31-
hyper = { version = "1.3", default-features = false, features = [
31+
hyper = { version = "1.6", default-features = false, features = [
3232
"client",
3333
"http1",
3434
] }
35+
hyperlocal = { version = "0.9", default-features = false, features = ["client"] }
3536
hyper-util = { version = "0.1", default-features = false, features = ["tokio"] }
3637
jwt-simple = { version = "0.12", default-features = false, features = [
3738
"optimal",
3839
] }
3940
log = { version = "0.4", default-features = false }
40-
log-panics = { version = "2.0", default-features = false, features = [
41+
log-panics = { version = "2.1", default-features = false, features = [
4142
"with-backtrace",
4243
] }
4344
rand_core = { version = "0.9", default-features = false, features = ["std"] }
@@ -56,20 +57,19 @@ serde_json = { version = "1.0", default-features = false, features = [
5657
"raw_value",
5758
] }
5859
serde_repr = { version = "0.1", default-features = false }
59-
tokio = { version = "1.0", default-features = false, features = [
60+
tokio = { version = "1.45", default-features = false, features = [
6061
"macros",
6162
"net",
6263
"process",
6364
] }
64-
uuid = { version = "1.16", default-features = false, features = [
65+
uuid = { version = "1.17", default-features = false, features = [
6566
"v4",
6667
] }
6768

6869
[features]
6970
mock = []
7071

7172
[dev-dependencies]
72-
actix-http = "3.10"
73+
actix-http = "3.11"
7374
actix-service = "2.0"
74-
base64 = "0.22.1"
75-
tempfile = "3.19.1"
75+
tempfile = "3.20.0"

build-and-run-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# local build and run
44
omnect_ui_version=$(toml get --raw Cargo.toml package.version)
5-
rust_version="1.84.1-bookworm"
5+
rust_version="1.87.0-bookworm"
66
omnect_ui_port="1977"
77
centrifugo_port="8000"
88

build-arm64-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ omnect_ui_version=$(toml get --raw Cargo.toml package.version)
55

66
docker buildx build \
77
--build-arg=DOCKER_NAMESPACE=omnectweucopsacr.azurecr.io \
8-
--build-arg=VERSION_RUST_CONTAINER=1.84.1-bookworm \
8+
--build-arg=VERSION_RUST_CONTAINER=1.87.0-bookworm \
99
--platform linux/arm64 \
1010
--load \
1111
-f Dockerfile . \

0 commit comments

Comments
 (0)