|
1 | | -[package] |
2 | | -name = "now-policy-server-template" |
3 | | -version = "0.1.0" |
4 | | -edition = "2024" |
5 | | -license.workspace = true |
6 | | -homepage.workspace = true |
7 | | -repository.workspace = true |
8 | | -authors.workspace = true |
9 | | -readme = "README.md" |
10 | | -description = "Reusable Devolutions NOW package broker server facade, mock, and OpenAPI generator" |
11 | | -publish = true |
12 | | - |
13 | | -[lints] |
14 | | -workspace = true |
15 | | - |
16 | | -[features] |
17 | | -default = [] |
18 | | -policy-compat = ["dep:now-policy", "now-policy-api/policy-compat"] |
19 | | - |
20 | | -[dependencies] |
21 | | -aide = { version = "0.14", features = ["axum", "axum-json"] } |
22 | | -async-trait = "0.1" |
23 | | -axum = { version = "0.8", default-features = false, features = ["json"] } |
24 | | -now-policy-api = { version = "0.1", path = "../now-policy-api" } |
25 | | -now-policy = { version = "0.1", path = "../now-policy", optional = true } |
26 | | -schemars = "0.8" |
27 | | -serde = { version = "1", features = ["derive"] } |
28 | | -serde_json = "1" |
29 | | -serde_yaml = "0.9" |
30 | | - |
31 | | -[dev-dependencies] |
32 | | -tokio = { version = "1.52", features = ["macros", "rt"] } |
33 | | -tower = { version = "0.5", features = ["util"] } |
34 | | - |
35 | | -[[bin]] |
36 | | -name = "generate-now-policy-api-openapi" |
37 | | -path = "tools/generate_openapi.rs" |
| 1 | +[package] |
| 2 | +name = "now-policy-server-template" |
| 3 | +version = "0.2.0" |
| 4 | +edition = "2024" |
| 5 | +license.workspace = true |
| 6 | +homepage.workspace = true |
| 7 | +repository.workspace = true |
| 8 | +authors.workspace = true |
| 9 | +readme = "README.md" |
| 10 | +description = "Reusable Devolutions NOW package broker server facade, mock, and OpenAPI generator" |
| 11 | +publish = true |
| 12 | + |
| 13 | +[lints] |
| 14 | +workspace = true |
| 15 | + |
| 16 | +[features] |
| 17 | +default = [] |
| 18 | +policy-compat = ["dep:now-policy", "now-policy-api/policy-compat"] |
| 19 | + |
| 20 | +[dependencies] |
| 21 | +aide = { version = "0.14", features = ["axum", "axum-json"] } |
| 22 | +async-trait = "0.1" |
| 23 | +axum = { version = "0.8", default-features = false, features = ["json"] } |
| 24 | +now-policy-api = { version = "0.2", path = "../now-policy-api" } |
| 25 | +now-policy = { version = "0.2", path = "../now-policy", optional = true } |
| 26 | +schemars = "0.8" |
| 27 | +serde = { version = "1", features = ["derive"] } |
| 28 | +serde_json = "1" |
| 29 | +serde_yaml = "0.9" |
| 30 | + |
| 31 | +[dev-dependencies] |
| 32 | +tokio = { version = "1.52", features = ["macros", "rt"] } |
| 33 | +tower = { version = "0.5", features = ["util"] } |
| 34 | + |
| 35 | +[[bin]] |
| 36 | +name = "generate-now-policy-api-openapi" |
| 37 | +path = "tools/generate_openapi.rs" |
0 commit comments