Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.06 KB

README.md

File metadata and controls

53 lines (33 loc) · 1.06 KB

k8sfg

Displays feature gates across Kubernetes versions.

See results in the results directory.

ToDo

  • Mark when a feature gate is deprecated and/or removed (i.e. - GA and no longer a gate)

Local Development

k8sfg uses Rust stable for production builds, but nightly for local development for formatting and linting. It is not a requirement to use nightly, but if running fmt you may see a few warnings on certain features only being available on nightly.

Build the project to pull down dependencies and ensure everything is setup properly:

cargo build

To format the codebase:

If using nightly to use features defined in rustfmt.toml, run the following:

cargo +nightly fmt --all

If using stable, run the following:

cargo fmt --all

To execute lint checks:

cargo clippy --all-targets --all-features

To run k8sfg locally for development:

cargo run

Running Tests

To execute the tests provided, run the following from the project root directory:

cargo test --all