• Stars
    star
    1,399
  • Rank 32,455 (Top 0.7 %)
  • Language
    Rust
  • License
    GNU Affero Genera...
  • Created over 3 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

background rust code check

bacon

Latest Version Chat on Miaou

bacon is a background rust code checker.

It's designed for minimal interaction so that you can just let it run, alongside your editor, and be notified of warnings, errors, or test failures in your Rust code.

screenshot

Documentation

The bacon website is a complete guide.

Below is a short overview.

install

cargo install --locked bacon

check the current project

bacon

That's how you'll usually launch bacon, because other jobs like test, clippy, doc, your own ones, are just a key away: You'll hit c to see Clippy warnings, t for the tests, d to open the documentation, etc.

check another project

bacon --path ../broot

or

bacon ../broot

check all targets (tests, examples, benches, etc)

bacon --job check-all

When there's no ambiguity, you may omit the --job part:

bacon check-all

run clippy instead of cargo check

bacon clippy

This will run against all targets like check-all does.

run tests

bacon test

bacon test

define your own jobs

First create a bacon.toml file by running

bacon --init

This file already contains some standard jobs. Add your own, for example

[jobs.check-win]
command = ["cargo", "check", "--target", "x86_64-pc-windows-gnu", "--color", "always"]

or

[jobs.check-examples]
command = ["cargo", "check", "--examples", "--color", "always"]
watch = ["examples"] # src is implicitly included

Don't forget the --color always part: bacon uses style information to recognize warnings and errors.

and run

bacon check-win

or

bacon check-examples

The bacon.toml file may evolve with the features and settings of your project and should be added to source control.

Licences

Bacon is licenced under AGPL-3.0. You're free to use it to compile the Rust projects of your choice, even commercial.

The logo is designed by Peter Varo and licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. license

More Repositories

1

broot

A new way to see and navigate directory trees : https://dystroy.org/broot
Rust
9,958
star
2

termimad

A library to display rich (Markdown) snippets and texts in a rust terminal application
Rust
834
star
3

rhit

A nginx log explorer
Rust
806
star
4

dysk

A linux utility to get information on filesystems, like df but better
Rust
780
star
5

miaou

A chat server with OAuth2 authentication, persistent and searchable history, video and audio, markdown formatting, private and public rooms, stars, votes, embedded games, and many other features
JavaScript
536
star
6

lazy-regex

lazy static regular expressions checked at compile time
Rust
172
star
7

JSON.prune

A pruning version of JSON.stringify, allowing for example to stringify window or any big or recursive object
JavaScript
159
star
8

backdown

A deduplicator
Rust
94
star
9

safecloset

Cross-platform Secure TUI Secret Locker
Rust
81
star
10

hu.js

A very light JavaScript library for SVG
JavaScript
71
star
11

resc

A task orchestrator using redis, written in rust
Rust
63
star
12

clap-help

A more compact help renderer for clap terminal applications
Rust
56
star
13

whalespotter

Find those big fat files and folders
Rust
53
star
14

lapin

A game I built under direction of my kids
Rust
49
star
15

codesort

codesort sorts code
Rust
43
star
16

glassbench

A micro-benchmark framework to use with cargo bench
Rust
40
star
17

mazter

Mazes in your terminal
Rust
35
star
18

bet

Build and evaluate binary expression trees
Rust
33
star
19

tzdetect.js

A JavaScript library to detect the timezone using Moment.js
JavaScript
31
star
20

clima

A minimal viewer for Termimad
Rust
30
star
21

nvim-bacon

bacon's companion for neovim
Lua
29
star
22

deser-hjson

A Serde 1.0 compatible Rust deserializer for Hjson
Rust
27
star
23

minimad

Rust Markdown Parser
Rust
23
star
24

crokey

Rust
22
star
25

snow

Make it snow on your web site
JavaScript
21
star
26

coolor

tiny color conversion library for TUI application builders
Rust
17
star
27

wasm-tictactoe

Example of a 100% pure Rust, framework free, wasm application
Rust
15
star
28

lfs-core

rust crate to get information on mounted disks on linux
Rust
15
star
29

splitty

A Rust string splitter taking quotes into account
Rust
15
star
30

fediback

A Mastodon account backuper
Rust
14
star
31

Chrall

Extension Chrome pour Mounty Hall
JavaScript
14
star
32

print_key

an utility printing the key combinations you try on your terminal
Rust
14
star
33

JSON.parseMore

A not eval based JSON parser handling NaN and infinities
JavaScript
12
star
34

csv2svg

Rust
12
star
35

starry

A tool to collect github stars counts
Rust
12
star
36

terminal-light

Tells you whether the terminal is "dark" or "light"
Rust
11
star
37

patine

A minimalist color scheme for vim
Vim Script
11
star
38

SpaceBullet

JavaScript
11
star
39

terminal-clipboard

A cross-platform text only clipboard facade for terminal applications written in Rust
Rust
10
star
40

umask

A utility to deal with unix access permission modes
Rust
9
star
41

bounded-cache

A fast in memory cache forgetting the least recently accessed entry when the maximal number of entries is reached.
JavaScript
8
star
42

dys-config

Personal configuration files, for easier sharing between all my computers
Vim Script
7
star
43

squale

Small utility to scale images
Rust
6
star
44

miaou.gpt

A chat bot for Miaou, using the OpenAPI API
JavaScript
6
star
45

cli-log

a simple file logging facility, convenient for Rust terminal applications
Rust
5
star
46

skillrep

A small experiment at recomputing Stack Exchange reputation for evaluating skills
Go
5
star
47

braldop

Extensions du jeu Braldahim
JavaScript
5
star
48

keybindings-example

Rust
4
star
49

locmess

draws an histogram of the lengths of your LOC
Rust
4
star
50

bench-config-deserializers

A benchmark of Rust/serde deserializers on configuration files
Rust
4
star
51

anolog

access log anonymizer
Rust
3
star
52

termux-clipboard

Rust
3
star
53

yaml-patcher

An utility to change values in YAML files
Rust
3
star
54

char_reader

A buffered char reader for rust, not breaking on wild contents
Rust
3
star
55

kidding

Rust
2
star
56

strict

Rust
2
star
57

jacquerie

Similar to jQuery but without the burden of history
JavaScript
2
star
58

weblowercaser

A small program to change all file names and internal links in lowercase
Go
2
star
59

dom-doll

A nano Javascript lib to enchant the HTML DOM
JavaScript
2
star
60

mastodys-settings

stylesheet of the mastodon.dystroy.org Mastodon instance
CSS
2
star
61

secular

no diacr!
Rust
2
star
62

miaou.flying-toasters

No description or website provided
JavaScript
2
star
63

Canop

2
star
64

dysp

Rust
1
star
65

albumin

Simple Hierarchical Album Generator
JavaScript
1
star
66

proc-status

a crate giving you information about a process, for example yours
Rust
1
star
67

groumf

Fast search and replace on strings or dom elements
JavaScript
1
star
68

file-archive

A simple archiver storing files in a date based tree
JavaScript
1
star
69

walk_pace

A simple evaluation of the cost of using rust's standard WalkDir
Rust
1
star
70

domus

A DOM library that I hope to be able to forget soon enough (don't use it)
Rust
1
star
71

war-js

A repo for the SO JS ROOM GAME COMPETITION , and remake of Scratch W.A.R.
JavaScript
1
star
72

miaou.mountyhall

A plugin for miaou, dedicated to the MountyHall game
JavaScript
1
star
73

byo-graphql

A simple "bring your own types and queries" GraphQL client
Rust
1
star
74

xterm-query

utility to query the terminal
Rust
1
star
75

prompter

bash prompt designer
HTML
1
star
76

file-size

just a Rust function formatting file sizes in 4 chars
Rust
1
star
77

miaou.fireworks

A command to launch Fireworks in Miaou chat rooms
JavaScript
1
star
78

taliner.js

Is the caret on the first line of the textarea ? On the last line ?
HTML
1
star
79

canop.github.com

1
star