Skip to content

Commit a0a5707

Browse files
authored
Update Readme
1 parent 1c76587 commit a0a5707

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
1-
freetype-sys [![Build Status](https://github.com/PistonDevelopers/freetype-sys/actions/workflows/ci.yml/badge.svg)](https://github.com/PistonDevelopers/freetype-sys/actions/workflows/ci.yml)
2-
============
1+
# freetype-sys [![Build Status](https://github.com/PistonDevelopers/freetype-sys/actions/workflows/ci.yml/badge.svg)](https://github.com/PistonDevelopers/freetype-sys/actions)
32

43
Low level bindings for the FreeType font library.
54

6-
# Statically linking against FreeType
5+
## Statically linking against FreeType
76

8-
If the `bundled` feature is enabled, `freetype-sys` will build and link a static copy of FreeType. This requires a C compiler. The included version of FreeType is 2.13.2.
7+
If the `bundled` feature is enabled, `freetype-sys` will build and link a static copy of FreeType. This requires a C compiler. The included version of FreeType is 2.13.3.
98

10-
```
9+
```toml
1110
[dependencies]
12-
freetype-sys = { version = "0.21", features = ["bundled"] }
11+
freetype-sys = { version = "0.23", features = ["bundled"] }
1312
```
1413

15-
## For Windows users
14+
### For Windows users
15+
16+
#### -pc-windows-gnu
1617

17-
### -pc-windows-gnu
1818
In order to easily setup FreeType just get MSYS2 and install either the `mingw-w64-x86_64-freetype` or `mingw-w64-i686-freetype` package and then use Rust from within the correct MinGW shell of MSYS2.
1919

2020
More information on setting up MSYS2 for Rust can be found in [the Rust installing from source document](https://github.com/rust-lang/rust/blob/master/INSTALL.md#building-on-windows).
2121

22-
### -pc-windows-msvc
22+
#### -pc-windows-msvc
23+
2324
Prebuilt libraries for FreeType are available [here](https://github.com/PistonDevelopers/binaries).
2425

2526
Then in the root of your project, in one of the parent directories, or in your home directory, create a .cargo directory. This directory should contain a `config` file that contains the following snippet:

0 commit comments

Comments
 (0)