Skip to content

Commit

Permalink
MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Dec 18, 2023
1 parent f88fd69 commit 9ed7838
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Libimagequant is dual-licensed:

## Upgrading instructions

libimagequant v2 used to be a C library. libimagequant v4 is written entirely in Rust, but still exports the same C interface for C programs. You will need to install Rust 1.60+ to build it, and adjust your build commands. If you do not want to upgrade, you can keep using [the C version of the library](https://github.com/imageoptim/libimagequant/tree/2.x) in the `2.x` branch of the [repo](https://github.com/ImageOptim/libimagequant).
libimagequant v2 used to be a C library. libimagequant v4 is written entirely in Rust, but still exports the same C interface for C programs. You will need to install Rust 1.70+ to build it, and adjust your build commands. If you do not want to upgrade, you can keep using [the C version of the library](https://github.com/imageoptim/libimagequant/tree/2.x) in the `2.x` branch of the [repo](https://github.com/ImageOptim/libimagequant).

### C static library users

Expand Down Expand Up @@ -82,7 +82,7 @@ cargo install cargo-c
cargo cinstall --prefix=/usr/local --destdir=.
```

This makes Rust 1.60 and `cargo-c` package a build-time dependency. No runtime deps (apart from Cargo-internal ones). OpenMP has been dropped entirely.
This makes Rust 1.70 and `cargo-c` package a build-time dependency. No runtime deps (apart from Cargo-internal ones). OpenMP has been dropped entirely.

#### Interaction with pngquant

Expand Down
2 changes: 1 addition & 1 deletion imagequant-sys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ imagequant = "4.0"

### Building for C

1. Get Rust 1.60 or later via [rustup](https://rustup.rs) and run `rustup update`.
1. Get Rust 1.70 or later via [rustup](https://rustup.rs) and run `rustup update`.
2. `cd imagequant-sys`

The C API is exposed by a separate package called [`imagequant-sys`](https://github.com/ImageOptim/libimagequant/tree/main/imagequant-sys).
Expand Down

0 comments on commit 9ed7838

Please sign in to comment.