1 unstable release
0.1.0 | Sep 13, 2024 |
---|
#1092 in Command line utilities
29 downloads per month
50KB
910 lines
aix
This project is still in the experimental stage, and its functionality may change at any time without notice.
A CLI tool to quickly scaffold REST API projects based on the Actix framework.
Projects generated with aix
come with reasonable defaults and can be extended with extras to further enhance your development activities.
Installation
aix is published as both a binary and library crate on crates.io. For now, the aix library is just published for completeness.
Install aix binary:
cargo install aix
Add aix to a project:
cargo add aix
Usage
Usage: aix [OPTIONS] <COMMAND>
Commands:
new
Generates a new Rust + Actix starter project
help
Print this message or the help of the given subcommand(s)
Options:
-v, --verbose...
Sets the level of verbosity (-v, -vv, -vvv)
-h, --help
Print help
-V, --version
Print version
Extras
Extras are opt-in setups for adding common development workflows and utilities to projects generated with the aix CLI.
Available extras
-
Docker
Adds a
Dockerfile
and.dockerignore
to the generated project. -
CI (GitHub Actions)
Adds a basic
ci.yml
GitHub Actions workflow that contains jobs to lint | test | build your project
License
Licensed under either of
- MIT license (see LICENSE-MIT) or
- Apache License, Version 2.0 (see LICENSE-APACHE)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~6–19MB
~205K SLoC