Skip to content

Commit f0440ed

Browse files
author
Wouter Coppieters
committed
V0.1.2
1 parent 872edc0 commit f0440ed

File tree

5 files changed

+30
-5
lines changed

5 files changed

+30
-5
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
target

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "htmltoadf"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
edition = "2021"
55
license = "MIT"
66
description = "An HTML to Atlassian Document Format (ADF) converter"
@@ -17,7 +17,7 @@ path = "src/lib.rs"
1717
crate-type = ["rlib", "dylib"]
1818

1919
[[bin]]
20-
name = "htmltoadf"
20+
name = "html2adf"
2121
path = "src/bin.rs"
2222

2323
[dependencies]

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM rust:1.58-buster as builder
2+
3+
WORKDIR /usr/src/html2adf
4+
COPY . .
5+
6+
RUN cargo install --path .
7+
8+
FROM debian:buster-slim
9+
COPY --from=builder /usr/local/cargo/bin/html2adf /usr/local/bin/html2adf
10+
11+
CMD ["html2adf"]

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,25 @@ The library can be used in several different ways:
1818

1919
```toml
2020
[dependencies]
21-
htmltoadf = "0.1.0"
21+
htmltoadf = "0.1.2"
2222
```
2323

2424
## CLI
2525
### Binaries
26-
*TODO*
26+
### Install Binary from Crates.io with `cargo install`
27+
```
28+
$ cargo install htmltoadf
29+
installing htmltoadf v0.1.2 (/usr/src/html2adf)
30+
Updating crates.io index
31+
Downloading crates ...
32+
Downloaded lock_api v0.4.6
33+
--snip--
34+
Compiling htmltoadf v0.1.2
35+
Finished release [optimized] target(s) in 1m 42s
36+
Installing ~/.cargo/bin/htmltoadf
37+
Installed package `htmltoadf v0.1.2` (executable `htmltoadf`)
38+
```
39+
2740
### Docker Image
2841
*TODO*
2942

0 commit comments

Comments
 (0)