# 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-sys-rs" version = "0.20.0" authors = ["The gtk-rs Project Developers"] build = "build.rs" exclude = ["gir-files/*"] description = "FFI bindings to libcairo" homepage = "https://gtk-rs.org/" keywords = [ "cairo", "ffi", "gtk-rs", "gnome", ] 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", ] [package.metadata.system-deps.cairo] name = "cairo" version = "1.14" [package.metadata.system-deps.cairo.v1_16] version = "1.16" [package.metadata.system-deps.cairo.v1_18] version = "1.18" [package.metadata.system-deps.cairo-gobject] feature = "use_glib" name = "cairo-gobject" version = "1.14" [package.metadata.system-deps.cairo-gobject.v1_16] version = "1.16" [package.metadata.system-deps.cairo-gobject.v1_18] version = "1.18" [lib] name = "cairo_sys" [dependencies.glib-sys] version = "0.20" optional = true [dependencies.libc] version = "0.2" [dependencies.x11] version = "2.16" features = ["xlib"] optional = true [build-dependencies.system-deps] version = "7" [features] freetype = [] pdf = [] png = [] ps = [] script = [] svg = [] use_glib = ["glib-sys"] v1_16 = [] v1_18 = ["v1_16"] win32-surface = ["windows-sys"] xcb = [] xlib = ["x11"] [target."cfg(windows)".dependencies.windows-sys] version = "0.52" features = ["Win32_Graphics_Gdi"] optional = true