All Projects → anixe → doku

anixe / doku

Licence: MIT license
fn(Code) -> Docs

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to doku

LocalStorage
Configurable generic class for managing local data saved on device.
Stars: ✭ 24 (-63.08%)
Mutual labels:  serialization
GroBuf
Fast binary serializer
Stars: ✭ 56 (-13.85%)
Mutual labels:  serialization
CodableWrapper
@codec("encoder", "decoder") var cool: Bool = true
Stars: ✭ 143 (+120%)
Mutual labels:  serialization
php-json-api
JSON API transformer outputting valid (PSR-7) API Responses.
Stars: ✭ 68 (+4.62%)
Mutual labels:  serialization
ruststep
A STEP toolkit for Rust
Stars: ✭ 77 (+18.46%)
Mutual labels:  serialization
ember-docgen
A CLI and toolbox to extract information from Ember component files for documentation generation purposes.
Stars: ✭ 15 (-76.92%)
Mutual labels:  documentation-generator
coqpit
Simple but maybe too simple config management through python data classes. We use it for machine learning.
Stars: ✭ 67 (+3.08%)
Mutual labels:  serialization
dataclasses-jsonschema
JSON schema generation from dataclasses
Stars: ✭ 145 (+123.08%)
Mutual labels:  serialization
Apex.Serialization
High performance contract-less binary serializer for .NET
Stars: ✭ 82 (+26.15%)
Mutual labels:  serialization
tjson.js
JavaScript-compatible implementation of Tagged JSON (TJSON), written in TypeScript.
Stars: ✭ 53 (-18.46%)
Mutual labels:  serialization
nodejs-markdown-site
Markdown-based site (blog, project documentation, etc) written with NodeJS.
Stars: ✭ 68 (+4.62%)
Mutual labels:  documentation-generator
floyd-docs
FloydHub's documentation code. Contributions welcome!
Stars: ✭ 66 (+1.54%)
Mutual labels:  documentation-generator
EndianBinaryIO
A C# library that can read and write primitives, enums, arrays, and strings to streams and byte arrays with specified endianness, string encoding, and boolean sizes.
Stars: ✭ 20 (-69.23%)
Mutual labels:  serialization
nason
🗜 Ultra tiny serializer / encoder with plugin-support. Useful to build binary files containing images, strings, numbers and more!
Stars: ✭ 30 (-53.85%)
Mutual labels:  serialization
SQLPowerDoc
Hopefully an up to date fork of SQL Power Doc. Newer PS versions and .NET levels. Maybe too ambitious. This repository was cloned from kendalvandyke, the original author of SQLPowerDoc. Codeplex is currently in the process of shutting down. I cloned this project (and its wiki) with the intention of preserving a wonderful tool that I recently dis…
Stars: ✭ 19 (-70.77%)
Mutual labels:  documentation-generator
Unity-Interface-Support
A simple implementation which allows for interface-type fields to be accepted in the Unity inspector.
Stars: ✭ 45 (-30.77%)
Mutual labels:  serialization
msgpack-perl
MessagePack serializer implementation for Perl / msgpack.org[Perl]
Stars: ✭ 48 (-26.15%)
Mutual labels:  serialization
doc-gen
Generate HTML documentation for mathlib and Lean
Stars: ✭ 14 (-78.46%)
Mutual labels:  documentation-generator
VSerializer
A library to serialize and deserialize objects with minimum memory usage.
Stars: ✭ 25 (-61.54%)
Mutual labels:  serialization
kafka-serialization
Lego bricks to build Apache Kafka serializers and deserializers
Stars: ✭ 122 (+87.69%)
Mutual labels:  serialization

Doku   crates-badge docs-badge

Doku is a framework for building textual, aesthetic documentation directly from the code; it allows to generate docs for configuration files, HTTP endpoints, and so on.

Say goodbye to stale, hand-written documentation - with Doku, code is the documentation!

Example

[dependencies]
doku = "0.12"
use doku::Document;
use serde::Deserialize;

#[derive(Deserialize, Document)]
struct Config {
    /// Database's engine
    db_engine: DbEngine,

    /// Database's host
    #[doku(example = "localhost")]
    db_host: String,

    /// Database's port
    #[doku(example = "5432")]
    db_port: usize,
}

#[derive(Deserialize, Document)]
enum DbEngine {
    #[serde(rename = "pgsql")]
    PostgreSQL,

    #[serde(rename = "mysql")]
    MySQL,
}

fn main() {
    println!("{}", doku::to_json::<Config>());
}
{
  // Database's engine
  "db_engine": "pgsql" | "mysql",
  // Database's host
  "db_host": "localhost",
  // Database's port
  "db_port": 5432
}

You'll find more examples in ./doku/examples; there's also a documentation at https://docs.rs/doku/.

Contributing

Found a bug, have an idea? Please let us know on GitHub - patches are welcome, too!

If you want to try hacking on Doku, the entry points are:

As for the end-to-end tests, you'll find them inside ./doku/tests.

License

Licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].