rustdesk/vendor/cairo-rs/Cargo.toml

99 lines
1.9 KiB
TOML

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
rust-version = "1.70"
name = "cairo-rs"
version = "0.18.5"
authors = ["The gtk-rs Project Developers"]
description = "Rust bindings for the Cairo library"
homepage = "https://gtk-rs.org/"
documentation = "https://gtk-rs.org/gtk-rs-core/stable/latest/docs/cairo/"
readme = "README.md"
keywords = [
"cairo",
"gtk-rs",
"gnome",
"GUI",
]
license = "MIT"
repository = "https://github.com/gtk-rs/gtk-rs-core"
[package.metadata.docs.rs]
all-features = true
rustc-args = [
"--cfg",
"docsrs",
]
rustdoc-args = [
"--cfg",
"docsrs",
"--generate-link-to-definition",
]
[lib]
name = "cairo"
[dependencies.bitflags]
version = "2.3"
[dependencies.ffi]
version = "0.18"
package = "cairo-sys-rs"
[dependencies.freetype-rs]
version = "0.32"
optional = true
[dependencies.glib]
version = "0.18"
optional = true
[dependencies.libc]
version = "0.2"
[dependencies.once_cell]
version = "1"
[dependencies.thiserror]
version = "1.0.10"
[dev-dependencies.float_eq]
version = "1"
[dev-dependencies.tempfile]
version = "3.0"
[features]
default = ["use_glib"]
freetype = [
"ffi/freetype",
"freetype-rs",
]
pdf = ["ffi/pdf"]
png = ["ffi/png"]
ps = ["ffi/ps"]
script = ["ffi/script"]
svg = ["ffi/svg"]
use_glib = [
"glib",
"ffi/use_glib",
]
v1_16 = ["ffi/v1_16"]
v1_18 = [
"v1_16",
"ffi/v1_18",
]
win32-surface = ["ffi/win32-surface"]
xcb = ["ffi/xcb"]
xlib = ["ffi/xlib"]