diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..3bb3c75 --- /dev/null +++ b/.github/workflows/publish.yml @@ -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 \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 9f0a356..f781b1e 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"