Documentation

    Include Readme.md in rustdoc πŸ”—

    Instead of repeating what is in README.md in the rust doc. Use this at the top of lib.rs.

    #![doc = include_str!("../README.md")]
    

    Document optional features πŸ”—

    Source: https://users.rust-lang.org/t/how-to-document-optional-features-in-api-docs/64577/2

    Add this to the top of lib.rs

    #![cfg_attr(docsrs, feature(doc_cfg))]