Crates.io | famedly-zitadel-rust-client |
lib.rs | famedly-zitadel-rust-client |
version | 0.9.0 |
created_at | 2025-08-28 08:41:33.364917+00 |
updated_at | 2025-09-04 14:26:39.603696+00 |
description | HTTP client for Zitadel IdP built by Famedly |
homepage | |
repository | https://github.com/famedly/zitadel-rust-client |
max_upload_size | |
id | 1813757 |
size | 2,262,082 |
A zitadel client written in rust.
The required and tested version of Zitadel is v4.0.1
The models behind each method are generated using
swagger-codegen,
then the top-level Zitadel
methods are all hand-written on top of
this to tape over the ergonomics issues codegen causes (e.g. by
providing Stream
s instead of manual pagination).
To add a new model:
go
, buf
and make
nix develop github:NixOS/nixpkgs-unstable#zitadel
gives good resultsPATH=$PATH:$HOME/go/bin
, or some alternate
$GOPATH
/$GOBIN
is setmake core_api
in the Zitadel repositoryswagger-codegen generate -i <path-to-repo>/openapi/<path-to-API>.json -l rust
.json
files can be usedmodels
directory out of the resulting Rust repo, and
discard any other generated code.sed
and similar to clean up any fallout; adding #![allow]s
to the generated mod.rs
is also helpful.cargo clippy --workspace --all-targets
and this in your IDE:
cargo clippy --workspace --all-targets --message-format=json
pip install --user pre-commit
pre-commit autoupdate
to update the pre-commit config to use the newest templatepre-commit install
to install the pre-commit hooks to your local environmentThis project is part of the source code of Famedly.
We think that software for healthcare should be open source, so we publish most parts of our source code at github.com/famedly.
For licensing information of this project, have a look at the license file within the repository.
If you compile the open source software that we make available to develop your own mobile, desktop or embeddable application, and cause that application to connect to our servers for any purposes, you have to agree to our Terms of Service. In short, if you choose to connect to our servers, certain restrictions apply as follows:
No license is granted to the Famedly trademark and its associated logos, all of which will continue to be owned exclusively by Famedly GmbH. Any use of the Famedly trademark and/or its associated logos is expressly prohibited without the express prior written consent of Famedly GmbH.
For more information take a look at Famedly.com or contact us by info@famedly.com