mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-08-29 05:28:22 +02:00
* feature: add support for threads in linux * bump version too * only enable for linux for now * thread some things around * update changelog * add highlighting support * fmt and run schema * how did this get added * hmmm cfg in if seems to not work * fix updated fields * fixes * revert uptime rename * some cleanup * fix doc * oop
Config JSON Schema
Generation
These are automatically generated from code using schemars
. They're locked
behind a feature flag to avoid building unnecessary code for release builds, and you can generate them like so:
cargo run --features="generate_schema" -- --generate_schema > schema/nightly/bottom.json
Alternatively, run the script in scripts/schema/generate.sh
, which does this for you.
Publication
To publish these schemas, cut a new version by copying nightly
to a new folder with a version number matching bottom's
(e.g. v0.10 if bottom is on v0.10.x bottom). Then, make a PR to schemastore
updating the catalog.
For more info, see the schemastore repo. An example PR can be found here.