Skip to content

Commit

Permalink
Download openapi.json, removed old gen functions, simplified modes fo…
Browse files Browse the repository at this point in the history
…r update.ts (#99)

* Download openapi.json, removed old gen functions, simplified modes for update.ts

* set particular version in actions

* require version 1.60 of Rust

* require version 1.63 of Rust

* require version 1.65 of Rust

* require version 1.74 of Rust
  • Loading branch information
kilork authored Mar 30, 2024
1 parent e98828d commit 90e6c7a
Show file tree
Hide file tree
Showing 14 changed files with 93 additions and 36,438 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ homepage = "https://github.com/kilork/keycloak"
keywords = ["api", "async", "keycloak", "rest"]
license = "Unlicense OR MIT"
repository = "https://github.com/kilork/keycloak"
rust-version = "1.58"
rust-version = "1.74"

[features]
default = ["tags-all"]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Default flags: `tags-all`.

## Usage

Requires Rust version >= `1.58.0`.
Requires Rust version >= `1.74.0`.

Add dependency to Cargo.toml:

Expand Down Expand Up @@ -102,5 +102,5 @@ Example: official version `13.0.1` is `13.0.100` for crate version. `13.0.102` m
To update current version use provided [update.ts](./update.ts) `deno` script:

```sh
deno run --allow-env=KEYCLOAK_RUST_VERSION,KEYCLOAK_VERSION,KEYCLOAK_RUST_MAJOR_VERSION --allow-read=Cargo.toml --allow-write=Cargo.toml,docs/rest-api.html,src/types.rs,src/rest/generated_rest.rs --allow-net=keycloak.org,www.keycloak.org --allow-run=cargo,docker,gh,git,handlebars-magic update.ts
deno run --allow-env=KEYCLOAK_RUST_VERSION,KEYCLOAK_VERSION,KEYCLOAK_RUST_MAJOR_VERSION --allow-read=Cargo.toml --allow-write=Cargo.toml,api/openapi.json,src/types.rs,src/rest/generated_rest.rs --allow-net=keycloak.org,www.keycloak.org --allow-run=cargo,gh,git,handlebars-magic update.ts
```
File renamed without changes.
21 changes: 0 additions & 21 deletions docker/Dockerfile.docs

This file was deleted.

35,323 changes: 0 additions & 35,323 deletions docs/rest-api.html

This file was deleted.

Loading

0 comments on commit 90e6c7a

Please sign in to comment.