JWT \ JWKS creation and validation

I want to generate JWT and validate them using JWKS, which I also need to generate on my own. If I understood correctly, I can use jsonwebtoken for JWT creation.

How to generate JWKS? How to validate tokens with JWKS? Which crates should I use?

It would be cool to see some minimal usage example.

https://docs.rs/alcoholic_jwt/1.0.0/alcoholic_jwt/

the only library i actually got to work for me.

@stevensonmt as far as I know I can't use it for creating jwks, only for validation?

you are correct.

@stevensonmt alcoholic_jwt looks good, thank you.
But I also should create jwks from my public key.