Skip to content
Open
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
62 changes: 31 additions & 31 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ keywords = ["rdp", "remote-desktop", "network", "client", "protocol"]
categories = ["network-programming"]

[workspace.dependencies]
now-proto-pdu = { version = "0.1", path = "protocols/rust/now-proto-pdu" }
now-proto-pdu = { version = "0.4", path = "protocols/rust/now-proto-pdu" }
now-proto-fuzzing = { version = "0.1", path = "protocols/rust/now-proto-fuzzing" }

[profile.test.package.proptest]
Expand Down
60 changes: 30 additions & 30 deletions policies/rust/now-policy-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
[package]
name = "now-policy-api"
version = "0.1.0"
edition = "2024"
license.workspace = true
homepage.workspace = true
repository.workspace = true
authors.workspace = true
readme = "README.md"
description = "Implementation-agnostic Devolutions NOW policy package broker API model"
publish = true
[lints]
workspace = true
[features]
default = []
policy-compat = ["dep:now-policy"]
[dependencies]
base64 = "0.22"
chrono = { version = "0.4", features = ["serde"] }
derive_more = { version = "2", features = ["as_ref", "deref", "display", "from"] }
now-policy = { version = "0.1", path = "../now-policy", optional = true }
schemars = { version = "0.8", features = ["chrono"] }
semver = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
strum = { version = "0.27", features = ["derive"] }
thiserror = "2"
[package]
name = "now-policy-api"
version = "0.1.0"
edition = "2024"
license.workspace = true
homepage.workspace = true
repository.workspace = true
authors.workspace = true
readme = "README.md"
description = "Implementation-agnostic Devolutions NOW policy package broker API model"
publish = true

[lints]
workspace = true

[features]
default = []
policy-compat = ["dep:now-policy"]

[dependencies]
base64 = "0.22"
chrono = { version = "0.4", features = ["serde"] }
derive_more = { version = "2", features = ["as_ref", "deref", "display", "from"] }
now-policy = { version = "0.1", path = "../now-policy", optional = true }
schemars = { version = "0.8", features = ["chrono"] }
semver = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
strum = { version = "0.27", features = ["derive"] }
thiserror = "2"
74 changes: 37 additions & 37 deletions policies/rust/now-policy-server-template/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
[package]
name = "now-policy-server-template"
version = "0.1.0"
edition = "2024"
license.workspace = true
homepage.workspace = true
repository.workspace = true
authors.workspace = true
readme = "README.md"
description = "Reusable Devolutions NOW package broker server facade, mock, and OpenAPI generator"
publish = true
[lints]
workspace = true
[features]
default = []
policy-compat = ["dep:now-policy", "now-policy-api/policy-compat"]
[dependencies]
aide = { version = "0.14", features = ["axum", "axum-json"] }
async-trait = "0.1"
axum = { version = "0.8", default-features = false, features = ["json"] }
now-policy-api = { version = "0.1", path = "../now-policy-api" }
now-policy = { version = "0.1", path = "../now-policy", optional = true }
schemars = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
[dev-dependencies]
tokio = { version = "1.52", features = ["macros", "rt"] }
tower = { version = "0.5", features = ["util"] }
[[bin]]
name = "generate-now-policy-api-openapi"
path = "tools/generate_openapi.rs"
[package]
name = "now-policy-server-template"
version = "0.1.0"
edition = "2024"
license.workspace = true
homepage.workspace = true
repository.workspace = true
authors.workspace = true
readme = "README.md"
description = "Reusable Devolutions NOW package broker server facade, mock, and OpenAPI generator"
publish = true

[lints]
workspace = true

[features]
default = []
policy-compat = ["dep:now-policy", "now-policy-api/policy-compat"]

[dependencies]
aide = { version = "0.14", features = ["axum", "axum-json"] }
async-trait = "0.1"
axum = { version = "0.8", default-features = false, features = ["json"] }
now-policy-api = { version = "0.1", path = "../now-policy-api" }
now-policy = { version = "0.1", path = "../now-policy", optional = true }
schemars = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"

[dev-dependencies]
tokio = { version = "1.52", features = ["macros", "rt"] }
tower = { version = "0.5", features = ["util"] }

[[bin]]
name = "generate-now-policy-api-openapi"
path = "tools/generate_openapi.rs"
Loading
Loading