[package]
edition = "2021"
rust-version = "1.75"
name = "fontlift-python"
version = "5.0.11"
authors = ["FontLab Ltd."]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Python bindings for fontlift"
readme = false
license = "Apache-2.0"
repository = "https://github.com/fontlaborg/fontlift"
[features]
default = []
python-bindings = [
"pyo3",
"pyo3/extension-module",
]
[lib]
name = "_native"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.fontlift-core]
version = "=5.0.11"
[dependencies.log]
version = "0.4"
[dependencies.pyo3]
version = "0.24.1"
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.0"
features = ["full"]
[build-dependencies.pyo3-build-config]
version = "0.24.1"
[target.'cfg(target_os = "macos")'.dependencies.fontlift-platform-mac]
version = "=5.0.11"
[target.'cfg(target_os = "windows")'.dependencies.fontlift-platform-win]
version = "=5.0.11"