-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 772006b
Showing
25 changed files
with
2,973 additions
and
0 deletions.
There are no files selected for viewing
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,71 @@ | ||
name: Linux | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: [ "latest" ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
default_features: | ||
name: Default Features | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
toolchain: | ||
- stable | ||
- beta | ||
- nightly | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout submodules | ||
run: git submodule update --init | ||
- name: Update Rust | ||
run: | | ||
rustup update ${{ matrix.toolchain }} | ||
rustup default ${{ matrix.toolchain }} | ||
rustup component add rustfmt | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run Tests | ||
run: cargo test --verbose | ||
- name: Test Formatting | ||
run: cargo fmt --all -- --check | ||
- name: Build Docs | ||
run: cargo doc | ||
- name: Build Package | ||
run: cargo package --verbose | ||
linux_features: | ||
name: All Linux Features | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
toolchain: | ||
- stable | ||
- beta | ||
- nightly | ||
steps: | ||
- name: Install Prereqs | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libsystemd-dev | ||
- uses: actions/checkout@v3 | ||
- name: Checkout submodules | ||
run: git submodule update --init | ||
- name: Update Rust | ||
run: | | ||
rustup update ${{ matrix.toolchain }} | ||
rustup default ${{ matrix.toolchain }} | ||
rustup component add rustfmt | ||
- name: Build | ||
run: cargo build --verbose --features journald,network,socket | ||
- name: Run Tests | ||
run: cargo test --verbose --features journald,network,socket | ||
- name: Test Formatting | ||
run: cargo fmt --all -- --check | ||
- name: Build Docs | ||
run: cargo doc --features journald,network,socket | ||
- name: Build Package | ||
run: cargo package --verbose --features journald,network,socket |
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,67 @@ | ||
name: Mac | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: [ "latest" ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
default_features: | ||
name: Default Features | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
toolchain: | ||
- stable | ||
- beta | ||
- nightly | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout submodules | ||
run: git submodule update --init | ||
- name: Update Rust | ||
run: | | ||
rustup update ${{ matrix.toolchain }} | ||
rustup default ${{ matrix.toolchain }} | ||
rustup component add rustfmt | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run Tests | ||
run: cargo test --verbose | ||
- name: Test Formatting | ||
run: cargo fmt --all -- --check | ||
- name: Build Docs | ||
run: cargo doc | ||
- name: Build Package | ||
run: cargo package --verbose | ||
mac_features: | ||
name: All Mac Features | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
toolchain: | ||
- stable | ||
- beta | ||
- nightly | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout submodules | ||
run: git submodule update --init | ||
- name: Update Rust | ||
run: | | ||
rustup update ${{ matrix.toolchain }} | ||
rustup default ${{ matrix.toolchain }} | ||
rustup component add rustfmt | ||
- name: Build | ||
run: cargo build --verbose --features network,socket | ||
- name: Run Tests | ||
run: cargo test --verbose --features network,socket | ||
- name: Test Formatting | ||
run: cargo fmt --all -- --check | ||
- name: Build Docs | ||
run: cargo doc --features network,socket | ||
- name: Build Package | ||
run: cargo package --verbose --features network,socket |
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,67 @@ | ||
name: Windows | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: [ "latest" ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
default_features: | ||
name: Default Features | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
toolchain: | ||
- stable | ||
- beta | ||
- nightly | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout submodules | ||
run: git submodule update --init | ||
- name: Update Rust | ||
run: | | ||
rustup update ${{ matrix.toolchain }} | ||
rustup default ${{ matrix.toolchain }} | ||
rustup component add rustfmt | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run Tests | ||
run: cargo test --verbose | ||
- name: Test Formatting | ||
run: cargo fmt --all -- --check | ||
- name: Build Docs | ||
run: cargo doc | ||
- name: Build Package | ||
run: cargo package --verbose | ||
windows_features: | ||
name: All Windows Features | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
toolchain: | ||
- stable | ||
- beta | ||
- nightly | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout submodules | ||
run: git submodule update --init | ||
- name: Update Rust | ||
run: | | ||
rustup update ${{ matrix.toolchain }} | ||
rustup default ${{ matrix.toolchain }} | ||
rustup component add rustfmt | ||
- name: Build | ||
run: cargo build --verbose --features network,wel | ||
- name: Run Tests | ||
run: cargo test --verbose --features network,wel | ||
- name: Test Formatting | ||
run: cargo fmt --all -- --check | ||
- name: Build Docs | ||
run: cargo doc --features network,wel | ||
- name: Build Package | ||
run: cargo package --verbose --features network,wel |
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,2 @@ | ||
/target | ||
/src/stumpless_bindings.rs |
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,14 @@ | ||
# Changelog | ||
All notable changes to the stumpless logger will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to | ||
[Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
|
||
## [0.1.0] - 2023-01-28 | ||
### Added | ||
- Logging to stdout, stderr, files, journald, network, socket, and Windows | ||
Event Log endpoints. | ||
- `journald`, `network`, `socket`, and `wel` features based on the target types | ||
within stumpless-sys. |
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,24 @@ | ||
cff-version: 1.2.0 | ||
title: Stumpless CLI and Rust Library | ||
type: software | ||
license: Apache-2.0 | ||
repository-code: "https://github.com/goatshriek/stumpless-logger" | ||
version: 0.1.0 | ||
date-released: 2023-01-28 | ||
keywords: | ||
- cli | ||
- journald | ||
- logging | ||
- library | ||
- rust | ||
- "structured logging" | ||
- syslog | ||
- systemd | ||
- "windows event log" | ||
authors: | ||
- given-names: Joel | ||
family-names: Anderson | ||
email: [email protected] | ||
message: >- | ||
If you use this software, please cite it using the | ||
metadata from this file. |
Oops, something went wrong.