diff --git a/README.md b/README.md index 981b02e..96c07ca 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ If you want to build a dynamic library, but aren't bothered by soname and rpath #### Building with `cargo-c` -The [`cargo-c`](//lib.rs/cargo-c) tool knows how to build and link so/dylib properly, and generates an accurate pkg-config file, so it's de-facto required for a correct system-wide install of a dynamic library. +The [`cargo-c`](https://lib.rs/cargo-c) tool knows how to build and link so/dylib properly, and generates an accurate pkg-config file, so it's de-facto required for a correct system-wide install of a dynamic library. ```bash rustup update @@ -90,7 +90,7 @@ pngquant v2 can use this library as a dynamic library. However, pngquant v4 does ### Upgrading for Rust users -If you've used the [`imagequant-sys`](//lib.rs/imagequant-sys) crate, switch to the higher-level [`imagequant`](//lib.rs/imagequant) crate. The `imagequant` v4 is almost entirely backwards-compatible, with small changes that the Rust compiler will point out (e.g. changed use of `c_int` to `u32`). See [docs](https://docs.rs/imagequant). Please fix any deprecation warnings you may get, because the deprecated functions will be removed. +If you've used the [`imagequant-sys`](https://lib.rs/imagequant-sys) crate, switch to the higher-level [`imagequant`](https://lib.rs/imagequant) crate. The `imagequant` v4 is almost entirely backwards-compatible, with small changes that the Rust compiler will point out (e.g. changed use of `c_int` to `u32`). See [docs](https://docs.rs/imagequant). Please fix any deprecation warnings you may get, because the deprecated functions will be removed. The `openmp` Cargo feature has been renamed to `threads`. diff --git a/imagequant-sys/src/ffi.rs b/imagequant-sys/src/ffi.rs index 443f5ff..35fdf91 100644 --- a/imagequant-sys/src/ffi.rs +++ b/imagequant-sys/src/ffi.rs @@ -1,6 +1,6 @@ //! Exports API for C programs and C-FFI-compatible languages. See `libimagequant.h` or for C docs. //! -//! This crate is not supposed to be used in Rust directly. For Rust, see the parent [imagequant](//lib.rs/imagequant) crate. +//! This crate is not supposed to be used in Rust directly. For Rust, see the parent [imagequant](https://lib.rs/imagequant) crate. #![allow(non_camel_case_types)] #![allow(clippy::missing_safety_doc)] diff --git a/src/image.rs b/src/image.rs index ae96f1f..986bb0d 100644 --- a/src/image.rs +++ b/src/image.rs @@ -29,7 +29,7 @@ pub struct Image<'pixels> { impl<'pixels> Image<'pixels> { /// Makes an image from RGBA pixels. /// - /// See the [`rgb`] and [`bytemuck`](//lib.rs/bytemuck) crates for making `[RGBA]` slices from `[u8]` slices. + /// See the [`rgb`] and [`bytemuck`](https://lib.rs/bytemuck) crates for making `[RGBA]` slices from `[u8]` slices. /// /// The `pixels` argument can be `Vec`, or `Box<[RGBA]>` or `&[RGBA]`. /// @@ -47,7 +47,7 @@ impl<'pixels> Image<'pixels> { /// /// If you want to supply RGB or ARGB pixels, use [`Image::new_fn`] to supply your own pixel-swapping function. /// - /// See the [`rgb`] and [`bytemuck`](//lib.rs/bytemuck) crates for making `[RGBA]` slices from `[u8]` slices. + /// See the [`rgb`] and [`bytemuck`](https://lib.rs/bytemuck) crates for making `[RGBA]` slices from `[u8]` slices. /// /// Use `0.` for gamma if the image is sRGB (most images are). #[inline(always)]