1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies 7# 8# If you believe there's an error in this file please file an 9# issue against the rust-lang/cargo repository. If you're 10# editing this file be aware that the upstream Cargo.toml 11# will likely look very different (and much more reasonable) 12 13[package] 14edition = "2018" 15name = "cairo-rs" 16version = "0.14.1" 17authors = ["The gtk-rs Project Developers"] 18description = "Rust bindings for the Cairo library" 19homepage = "https://gtk-rs.org/" 20documentation = "https://gtk-rs.org/gtk-rs-core/stable/latest/docs/cairo/" 21readme = "README.md" 22keywords = ["cairo", "gtk-rs", "gnome", "GUI"] 23license = "MIT" 24repository = "https://github.com/gtk-rs/gtk-rs-core" 25[package.metadata.docs.rs] 26features = ["dox"] 27 28[lib] 29name = "cairo" 30[dependencies.bitflags] 31version = "1.0" 32 33[dependencies.ffi] 34version = "0.14.0" 35package = "cairo-sys-rs" 36 37[dependencies.freetype-crate] 38version = "0.7.0" 39optional = true 40package = "freetype" 41 42[dependencies.glib] 43version = "0.14.0" 44optional = true 45 46[dependencies.libc] 47version = "0.2" 48 49[dependencies.thiserror] 50version = "1.0.10" 51[dev-dependencies.tempfile] 52version = "3.0" 53 54[features] 55default = ["use_glib"] 56dox = ["ffi/dox", "glib/dox", "freetype"] 57freetype = ["ffi/freetype", "freetype-crate"] 58pdf = ["ffi/pdf"] 59png = ["ffi/png"] 60ps = ["ffi/ps"] 61script = ["ffi/script"] 62svg = ["ffi/svg"] 63use_glib = ["glib", "ffi/use_glib"] 64v1_16 = ["ffi/v1_16"] 65win32-surface = ["ffi/win32-surface"] 66xcb = ["ffi/xcb"] 67xlib = ["ffi/xlib"] 68