4 releases

0.1.3 Sep 4, 2023
0.1.2 Sep 3, 2023
0.1.1 Sep 3, 2023
0.1.0 Sep 3, 2023

#1032 in Command line utilities

MIT license

43KB
483 lines

appbiotic-code

A collection of software to build services and apps in a particular style.

Applications:

Conventions

Guiding principles, strive for as much as possible:

  • code readable
  • tools inspectable
  • builds hermetic with minimal dependencies

Meaning:

  • avoid macros
  • avoid non-hermetic generators such as Rust's build.rs
  • avoid tooling not installed by default in CI runner or any additional runtime

Getting Started

Rust

In order to develop and test against all features, select the full feature in your rust-analyzer settings. This project's workspace .vscode/settings.json already has this setting.

Releasing

Releasing uses cargo-release:

cargo install --version 0.24.11 cargo-release

Bump version:

cargo-release release version patch --workspace --execute

Push and merge to main. Then tag:

git tag -s "cargo read-manifest | jq -r '"v" + .version'"

Publish:

cargo-release release publish --workspace --execute

Contributing

Please read the contributing guide for the latest contributing guidelines.

Dependencies

~0.4–2MB
~40K SLoC