Distrib
Distrib helps you distribute your software.
[Features] | [Prerequisites] | [Installation] | [Examples] | [Reference] | [Development]
✨ Features
- Available both as the command-line tool
distriband a Rust library. - 100% pure and safe Rust with minimal dependencies and no bloat.
- Designed for
#![no_std]environment compatibility from the get-go. - Supports opting out of any feature using comprehensive feature flags.
- Adheres to the Rust API Guidelines in its naming conventions.
- Polyglot software also (soon!) available for Dart, Python, Ruby, and TypeScript.
- Cuts red tape: 100% free and unencumbered public domain software.
🛠️ Prerequisites
- Rust 2024+
⬇️ Installation
Installation of the CLI
Installation via Cargo Binstall
Installation via mise
Installation via Cargo
Downloading Release Tarballs
Installation of the Library
Installation from Crates.io
Configuration in Cargo.toml
Enable all default features:
[]
= { = "0" }
Enable only specific features:
[]
= { = "0", = false, = ["alloc"] }
👉 Examples
Importing the Library
use *;
Exporting Functions
📚 Reference
Command-Line Interface
Feature Flags
Interoperability
| Feature | Version | Summary |
|---|---|---|
serde |
1.0 | Derives serde::{Serialize, Deserialize} |
👨💻 Development