Skip to content

Commit

Permalink
Merge branch 'release/v0.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
ja573 committed Mar 27, 2024
2 parents 167f3ae + efb92eb commit 65bc0e8
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/target
target/
11 changes: 6 additions & 5 deletions .github/workflows/publish_crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@ on:
types: [published]

jobs:
publish-bin:
publish-lib:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./waybackmachine-client
steps:
- uses: actions/checkout@v4
- name: Publish
run: cargo publish --token ${{ secrets.CRATES_TOKEN }}
publish-lib:
publish-bin:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./waybackmachine-client
needs: publish-lib
steps:
- uses: actions/checkout@v4
- name: Publish
Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "archive-pdf-urls"
version = "0.2.0"
version = "0.3.0"
authors = ["Javier Arias <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
description = "Extract all links from a PDF and archive the URLs in the Internet Archive's Wayback Machine"
repository = "https://github.com/thoth-pub/archive-pdf-urls/"
readme = "README.md"

[workspace]
Expand All @@ -17,4 +18,4 @@ log = "0.4.21"
lopdf = "0.32.0"
regex = "1.10.4"
tokio = { version = "1.36.0", features = ["full"] }
waybackmachine-client = { version = "0.2.0", path = "waybackmachine-client"}
waybackmachine-client = { version = "0.3.0", path = "waybackmachine-client"}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

This command-line tool extracts URLs from a PDF file and archives them using the Wayback Machine.

[![Build status](https://github.com/thoth-pub/archive-pdf-urls/workflows/test-and-check/badge.svg)](https://github.com/thoth-pub/archive-pdf-urls/actions)
[![Crates.io](https://img.shields.io/crates/v/archive-pdf-urls.svg)](https://crates.io/crates/archive-pdf-urls)

## Installation

You can build and install the tool using Cargo:
Expand Down
3 changes: 2 additions & 1 deletion waybackmachine-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "waybackmachine-client"
version = "0.2.0"
version = "0.3.0"
authors = ["Javier Arias <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
description = "Client to archive URLs in the Internet Archive's Wayback Machine"
repository = "https://github.com/thoth-pub/archive-pdf-urls/"
readme = "README.md"

[dependencies]
Expand Down
3 changes: 3 additions & 0 deletions waybackmachine-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

This Rust crate provides a client for interacting with the Wayback Machine, allowing users to archive URLs.

[![Build status](https://github.com/thoth-pub/archive-pdf-urls/workflows/test-and-check/badge.svg)](https://github.com/thoth-pub/archive-pdf-urls/actions)
[![Crates.io](https://img.shields.io/crates/v/waybackmachine-client.svg)](https://crates.io/crates/waybackmachine-client)

## Installation

```bash
Expand Down

0 comments on commit 65bc0e8

Please sign in to comment.