We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
extern crate
1 parent b44d5e0 commit 8ebf958Copy full SHA for 8ebf958
Cargo.toml
@@ -8,7 +8,7 @@ license = "MIT"
8
readme = "README.md"
9
repository = "https://github.com/PistonDevelopers/freetype-rs.git"
10
homepage = "https://github.com/PistonDevelopers/freetype-rs"
11
-edition = "2018"
+edition = "2021"
12
13
[lib]
14
name = "freetype"
examples/glyph_outline.rs
@@ -1,4 +1,4 @@
1
-extern crate freetype as ft;
+use freetype as ft;
2
3
fn draw_curve(curve: ft::outline::Curve) {
4
match curve {
examples/single_glyph.rs
@@ -1,5 +1,4 @@
-extern crate unicode_normalization;
use unicode_normalization::UnicodeNormalization;
5
0 commit comments