Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Default owners for all files
* @petekubiak @ScottGibb @jamessizeland
* @petekubiak @ScottGibb @jamessizeland @mrossington

# Override the default owners and remove ownership for specific files
Cargo.toml

# Override the default owners and remove ownership for the .github/workflows directory
.github/workflows/
.github/workflows/
4 changes: 2 additions & 2 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ the community.
## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available [here](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).
[version 2.0](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the [FAQ](https://www.contributor-covenant.org/faq). Translations are available [here](https://www.contributor-covenant.org/translations).
For answers to common questions about this code of conduct, see the [FAQ](https://www.contributor-covenant.org/faq). [Translations are available here](https://www.contributor-covenant.org/translations).
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Thank you for considering contributing to the Commitment issues project! We welc

## Code Style

- Follow the existing code style. This can be done by running `mega-linter-runner --fix` before your commit. This check will also run in the CI when doing a merge and point out any fixes that are required. More information on MegaLinter can be found [here](https://megalinter.io/latest/)
- Follow the existing code style. This can be done by running `mega-linter-runner --fix` before your commit. This check will also run in the CI when doing a merge and point out any fixes that are required. [More information on MegaLinter can be found here](https://megalinter.io/latest/)
- Write clear and concise commit messages.
- Include comments where necessary.

Expand Down
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "commitment-issues"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
authors = ["Pete Kubiak <peter.kubiak@dyson.com>"]

Expand All @@ -14,3 +14,7 @@ syn = "2.0"

[lib]
proc-macro = true

[features]
default = []
vendored-openssl = ["git2/vendored-openssl"]
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Embed git repository metadata into compiled binaries.
### Creating a new project from template

A very simple `cargo generate` example template is provided which demonstrates usage of the crate in a natively-compiled binary.
To use the template, you will need cargo generate installed (for instructions see [here](https://github.com/cargo-generate/cargo-generate/tree/main)).
To use the template, you will need cargo generate installed (for instructions see [the cargo-generate docs](https://github.com/cargo-generate/cargo-generate/tree/main)).

#### Generate the project

Expand Down Expand Up @@ -91,6 +91,13 @@ The template's [main.rs](https://github.com/dysonltd/commitment-issues/blob/main

Compile and run your project using your standard process.

## Troubleshooting

This crate relies on git2, which in turn relies on openssl-sys.
By default, openssl-sys has libssl-dev as a dependency.
This can sometimes cause issues when building in dev containers or cross-compiling.
If you see issues relating to being unable to find openssl headers, try activating the `openssl-vendored` feature.

## Inspecting binary metadata

The metadata can be found in a section called ".metadata" within the executable binary generated by cargo.
Expand Down
Loading