Skip to content

Commit 6740662

Browse files
committed
Switch to the 2024 edition
1 parent 0dca510 commit 6740662

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "woff"
33
version = "0.6.2"
4-
edition = "2021"
4+
edition = "2024"
55
license = "Apache-2.0 OR MIT"
66
authors = ["Ivan Ukhov <ivan.ukhov@gmail.com>"]
77
description = "The package provides a converter for Web Open Font Format."

src/version1/ffi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extern "C" {
1+
unsafe extern "C" {
22
pub fn woffEncode(
33
sfntData: *const u8,
44
sfntLen: u32,

src/version2/ffi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extern "C" {
1+
unsafe extern "C" {
22
pub fn ComputeTTFToWOFF2Size(
33
data: *const u8,
44
length: libc::size_t,

0 commit comments

Comments
 (0)