-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release slog-google version 0.1.0 (#201)
- Loading branch information
Showing
7 changed files
with
63 additions
and
24 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
[package] | ||
name = "googlelog" | ||
name = "slog-google" | ||
description = "Google Logging drain for slog-rs" | ||
version = "0.1.0" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
authors = [ | ||
"Rob klein Gunnewiek <[email protected]>" | ||
] | ||
keywords = ["slog", "logging", "log", "google", "gcp"] | ||
categories = ["development-tools::debugging"] | ||
homepage = "https://github.com/bolcom/unFTP/tree/master/crates/googlelog" | ||
repository = "https://github.com/bolcom/unFTP/tree/master/crates/googlelog" | ||
|
||
[features] | ||
shipper = [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.PHONY: help | ||
help: # Show available `make` commands | ||
@awk -F'#' '\ | ||
BEGIN{n=split("$(DOCKER_IMAGES)", docker_images, " ")} \ | ||
/^[%a-z][.A-Za-z0-9]+/ { \ | ||
if (NF > 1) { \ | ||
sub(/:[^#]*/, ""); \ | ||
if ($$1 ~ /%/ && $$1 ~ /[Dd]ocker/) { \ | ||
line=$$0; \ | ||
for (i=1; i<=n; ++i) { \ | ||
$$0 = line; \ | ||
gsub(/%/, docker_images[i]); \ | ||
printf("%-25s %s\n", $$1, $$2) \ | ||
} \ | ||
} else { \ | ||
printf("%-25s %s\n", $$1, $$2) \ | ||
} \ | ||
} \ | ||
}\ | ||
/^##/ { printf("\n") }' Makefile | ||
|
||
## | ||
.PHONY: pr-prep | ||
pr-prep: # Runs checks to ensure you're ready for a pull request | ||
cargo fmt --all -- --check | ||
cargo clippy -- -D warnings | ||
cargo test | ||
cargo test --doc | ||
cargo build | ||
cargo doc --no-deps --features shipper | ||
|
||
publish: | ||
cargo publish --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters