aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* buid: use crane to build the binaryFranck Cuny2022-11-042-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.
* build: follow flake-inputs for rust overlayFranck Cuny2022-11-012-16/+4
|
* build: add pre-commit checksFranck Cuny2022-11-013-4/+56
|
* ci: rewrite GitHub actions to use `nix develop|build`Franck Cuny2022-11-011-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.
* fix: disable default feature on `chrono` crateFranck Cuny2022-11-012-49/+46
| | | | See https://github.com/chronotope/chrono/issues/602 for more details.
* build: get rid of naerskFranck Cuny2022-11-012-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.
* build: configure rust overlay to follow nixpkgsFranck Cuny2022-11-012-18/+7
|
* meta: add a configuration to allow/deny dependenciesFranck Cuny2022-11-011-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.
* meta: ignore result directoryFranck Cuny2022-11-011-0/+1
|
* build(deps): bump clap from 4.0.17 to 4.0.18dependabot[bot]2022-10-242-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>
* build(deps): bump actions/checkout from 2 to 3dependabot[bot]2022-10-211-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>
* feat: get information about a given certificateFranck Cuny2022-10-217-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 ```
* build: fix the name of the workflowFranck Cuny2022-10-191-1/+1
|
* meta: initial commitFranck Cuny2022-10-1910-0/+182
Create the initial scaffolding for a rust project, using `cargo` and a nix template.