Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/.gitattributes text eol=lf

*.rs text eol=lf
*.toml text eol=lf
*.cs text eol=lf
Expand All @@ -6,6 +8,7 @@
*.sln text eol=crlf
*.md text eol=lf
*.mustache text eol=lf
*.yml text eol=lf
*.yaml text eol=lf

devolutions-gateway/openapi/doc/index.adoc linguist-generated merge=binary
Expand All @@ -14,3 +17,6 @@ devolutions-gateway/openapi/dotnet-client/docs/** linguist-generated merge=binar
devolutions-gateway/openapi/dotnet-subscriber/src/** linguist-generated merge=binary
devolutions-gateway/openapi/ts-angular-client/api/** linguist-generated merge=binary
devolutions-gateway/openapi/ts-angular-client/model/** linguist-generated merge=binary

# Sample assets produce huge LoC counts; exclude them from language statistics.
crates/unigetui-broker/assets/** linguist-generated
204 changes: 200 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 60 additions & 0 deletions crates/unigetui-broker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[package]
name = "unigetui-broker"
version = "0.1.0"
edition = "2024"
authors = ["Devolutions Inc. <infos@devolutions.net>"]
description = "UniGetUI package broker - policy evaluation and command execution over named pipe"
publish = false

[lints]
workspace = true

[dependencies]
anyhow = "1"
async-trait = "0.1"
base64 = "0.22"
devolutions-gateway-task = { path = "../devolutions-gateway-task" }
axum = { version = "0.8", default-features = false, features = ["http1", "json", "tokio", "original-uri", "matched-path"] }
now-policy = "0.1"
now-policy-api = { version = "0.1", features = ["policy-compat"] }
now-policy-server-template = { version = "0.1", features = ["policy-compat"] }
tower = "0.5"
tower-service = "0.3"
tower-http = { version = "0.5", features = ["timeout"] }
hyper = { version = "1", features = ["http1", "server"] }
hyper-util = { version = "0.1", features = ["tokio", "server", "server-auto", "service"] }
http-body-util = "0.1"
bytes = "1"
semver = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
notify = { version = "7", default-features = false, features = ["macos_kqueue"] }
thiserror = "2"
tokio = { version = "1.52", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
url = "2"
uuid = { version = "1.17", features = ["v4"] }
chrono = { version = "0.4", features = ["serde"] }
regex = "1"

[target.'cfg(windows)'.dependencies]
win-api-wrappers = { path = "../win-api-wrappers" }
windows = { version = "0.61", features = [
"Win32_Security",
"Win32_Security_Authorization",
"Win32_System_Pipes",
"Win32_System_IO",
"Win32_Storage_FileSystem",
"Win32_Foundation",
"Win32_System_Threading",
"Win32_System_RemoteDesktop",
"Win32_System_Environment",
"Win32_UI_WindowsAndMessaging",
] }
tokio-util = { version = "0.7", features = ["compat"] }

[[bin]]
name = "unigetui-broker-standalone"
path = "tools/standalone.rs"
Loading
Loading