germ-macros-impl

Crates.iogerm-macros-impl
lib.rsgerm-macros-impl
version0.1.2
sourcesrc
created_at2022-06-14 09:06:16.753036
updated_at2022-06-28 08:06:57.658815
descriptionGerm Macro Implementations
homepagehttps://github.com/gemrest/germ
repositoryhttps://github.com/gemrest/germ
max_upload_size
id605650
size3,339
Fuwn (Fuwn)

documentation

https://docs.rs/germ

README

Germ

crates.io docs.rs github.com

The Ultimate Gemini Toolkit.

Germ is a toolkit for the Gemini protocol which aims to have a little something for everyone. At the moment, Germ has ZERO dependencies (unless you use the request feature), and Germ will continue to try its hardest to have as few dependencies as possible.

Features

  • AST builder to easily construct AST trees from raw Gemtext.
  • Converters to easily convert from Gemtext to markup formats such as HTML or Markdown.
  • More to come!

Usage

Current version: crates.io

# Cargo.toml

[dependencies]
# To enable all features
# germ = "*" # Use current version show above!

# To enable certain features
[dependencies.germ]
version = "*" # Use current version show above!
default-features = false
features = ["ast"] # Enable the features you would like to use!

Features

Feature Description
ast Construct AST trees from raw Gemtext.
convert Convert from Gemtext to markup formats such as HTML or Markdown.
request Make Gemini requests and get sane, structured results.
meta Structure-ize a Gemini response's meta section
macros Macros to aid with various Germ-related functionalities
quick Quick functions to create valid Gemtext elements from input

Examples

Examples can be found within the examples/ directory.

License

This project is licensed with the GNU General Public License v3.0.

Commit count: 94

cargo fmt