Crates.io | sutils |
lib.rs | sutils |
version | 0.1.0 |
created_at | 2025-08-28 01:25:19.474188+00 |
updated_at | 2025-08-28 01:25:19.474188+00 |
description | Utilities for writing Solana programs |
homepage | |
repository | https://github.com/bonedaddy/solana-utils |
max_upload_size | |
id | 1813438 |
size | 68,684 |
Template repository for creating new rust projects including a CLI and YAML based configuration management.
cargo fmt
+ clippy
)After cloning this repository there are a few things you'll likely want to change:
tag
used when building the docker images (edit the Makefile
)rust-toolchain.toml
)The lint script rust runs cargo fmt
, and then cargo clippy --fix
. To run the script
$> ./scripts/lint.sh
The dockerfile's are optimized to minimize compilation times by using multi-stage builds and cargo chef to cache dependency compilation. The final build stage trims as much as possible to minimize the final image size.
Requires that you have the BuildKit plugin installed.
There are two image files
Dockerfile
can be used to build the CLI in release modeDockerfile.dev
can be used to build the CLI in debug modeTo build the release docker image
$> make build-docker-release
To build the debug docker image
$> make build-docker-debug