Skip to content

Commit

Permalink
action to publish to crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
puffyCid committed Dec 5, 2024
1 parent f9ce1c9 commit 6b6d5b6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
push:
tags:
- v[0-9]+.*

name: Publish

jobs:
crates_publish:
name: Publish (crates.io)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable

- name: Logon to Crates
run: cargo login ${{ secrets.CRATES_IO_API_TOKEN }}
- name: "Publish"
run: cargo publish
14 changes: 9 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,31 @@
name = "macos-unifiedlogs"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/mandiant/macos-unifiedlogs"
description = "A library to help parse macOS UnifiedLogs"
keywords = ["forensics", "macOS", "unifiedlog"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
nom = "7.1.3"
serde_json = "1.0.128"
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.133"
serde = { version = "1.0.215", features = ["derive"] }
log = "0.4.22"
lz4_flex = "0.11.3"
byteorder = "1.5.0"
plist = "1.7.0"
regex = "1.10.6"
regex = "1.11.1"
base64 = "0.22.1"
chrono = "0.4.38"

[dev-dependencies]
simplelog = "0.12.2"
csv = "1.3.0"
csv = "1.3.1"
chrono = "0.4.38"
criterion = "0.5.1"
anyhow = "1.0.93"
anyhow = "1.0.94"

[[bench]]
name = "high_sierra_benchmark"
Expand Down

0 comments on commit 6b6d5b6

Please sign in to comment.