| Crates.io | octad |
| lib.rs | octad |
| version | 0.0.51 |
| created_at | 2025-01-08 20:26:47.603901+00 |
| updated_at | 2025-02-08 19:43:50.360622+00 |
| description | simple octad puzzle generator and solver |
| homepage | https://codeberg.org/switchcartridges/octad |
| repository | https://codeberg.org/switchcartridges/octad |
| max_upload_size | |
| id | 1509042 |
| size | 47,262 |
simple octad puzzle generator (and soon solver)
octad is available as a crate on crates.io
install cargo through either your package manager or rustup, then run:
cargo install octad
no other packages will be officially distributed and maintained.
in case you are packaging octad for a different package manager, please create an issue that links to the package page or packaging request and i'll add it into this README.
in case you still can't run octad globally, add the following line to your .profile in case you're using bash, or .zprofile in case you're using zsh:
. "$HOME/.cargo/bin"
if you're using NixOS, you can add the following line to your configuration:
environment.localBinInPath = true;
then create a symlink that points to the octad executable in ~/.local/bin:
cd ~/.local/bin
ln -s ~/.cargo/bin/octad octad
or you can also add octad as an alias in programs.zsh.shellAliases (better for reproducibility):
octad = "~/.cargo/bin/octad";
git clone https://codeberg.org/switchcartridges/octad
cargo:cargo build --release
omit the --release option if you want the debug build, however be aware that debug builds are slower
after cargo is done building, the compiled binary is going to be in target/release/octad
octad
adding an alias is simple; add the following line to your .bashrc or .zshrc:alias octad="<repository directory>/target/release/octad"
if you're using NixOS like i am, add the following line to programs.zsh.shellAliases in either configuration.nix or home.nix:
octad = "<repository directory>/target/release/octad";