aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-11-04buid: use crane to build the binaryFranck Cuny2-30/+114
crane is a nix library to build cargo projects, similar to naersk. The main advantage over naersk is the composability. I'll give it a try and see if it's faster for local development.
2022-11-01build: follow flake-inputs for rust overlayFranck Cuny2-16/+4
2022-11-01build: add pre-commit checksFranck Cuny3-4/+56
2022-11-01ci: rewrite GitHub actions to use `nix develop|build`Franck Cuny1-75/+36
Instead of relying on GitHub actions to check/test/build the code, I can rely entirely on nix to do these steps. This has the added benefit that the workflow will be similar to my local environment and make it easy to test the worfklow before running it on GitHub.
2022-11-01fix: disable default feature on `chrono` crateFranck Cuny2-49/+46
See https://github.com/chronotope/chrono/issues/602 for more details.
2022-11-01build: get rid of naerskFranck Cuny2-55/+28
We can build a rust binary without naesrk,with the help of `buildRustPackage`. Simplify a bit the overall build by consuming information from Cargo.toml and Cargo.lock.
2022-11-01build: configure rust overlay to follow nixpkgsFranck Cuny2-18/+7
2022-11-01meta: add a configuration to allow/deny dependenciesFranck Cuny1-0/+46
cargo-deny is a plugin to lint a project's dependency graph. This allow me to set which licenses are allowed for the dependencies, and configure the security vulnerability database.
2022-11-01meta: ignore result directoryFranck Cuny1-0/+1
2022-10-24build(deps): bump clap from 4.0.17 to 4.0.18dependabot[bot]2-5/+5
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.17 to 4.0.18. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.0.17...v4.0.18) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-10-21build(deps): bump actions/checkout from 2 to 3dependabot[bot]1-5/+5
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2022-10-21feat: get information about a given certificateFranck Cuny7-1/+1197
Read the domain name from the CLI, and get and print information about the certificate to STDOUT. The output looks like this: ``` > ./target/debug/x509-info badssl.com Subject: CN=*.badssl.com O= L= Issuer: CN=R3 O=Let's Encrypt L= DNS Names: *.badssl.com, badssl.com Validity Period Not before: 2022-08-12T07:57:46-07:00 Not After: 2022-11-10T06:57:45-08:00 ```
2022-10-19build: fix the name of the workflowFranck Cuny1-1/+1