rust_plantuml_client

Rust client library and CLI for plantuml server
version: 1.0.14 date: 2022-04-24 author: bestia.dev repository: Github

Lines in Rust code Lines in Doc comments Lines in Comments Lines in examples Lines in tests

Licence Rust

Motivation

It is very ofter needed to insert simple graphs inside the README markdown file of Rust projects. There is a lot of different ways to do that. I prefer to use http://plantuml.com server to render the graph from a simple text file. Then I save the resulting SVG file in the image directory and add it to README.md as an image. This is easy to do manually, but for me every problem needs a software solution. So I want to make an automation task for this. But first I need a simple Rust library or CLI app to call the <plantuml.com> server and save the image. This web service API is pretty non-standard because the plantuml code needs to be compressed and base64 in an unusual way. This Rust plantuml client will solve this. It can be used as a Rust library or as a standalone CLI app.

Try it

Watch the youtube video tutorial:

cargo crev reviews and advisory

We live in times of danger with supply chain attacks.

It is recommended to always use cargo-crev to verify the trustworthiness of each of your dependencies.

Please, spread this info.

You can also read crev reviews quickly on the web:

https://web.crev.dev/rust-reviews/crates/

open-source and free as a beer

My open-source projects are free as a beer (MIT license).

I just love programming.

But I need also to drink. If you find my projects and tutorials helpful,please buy me a beer donating on my paypal.

You know the price of a beer in your local bar ;-) So I can drink a free beer for your health :-)

Na zdravje! Alla salute! Prost! Nazdravlje! 🍻