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 are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14name = "cairo-rs"
15version = "0.14.9"
16authors = ["The gtk-rs Project Developers"]
17description = "Rust bindings for the Cairo library"
18homepage = "https://gtk-rs.org/"
19documentation = "https://gtk-rs.org/gtk-rs-core/stable/latest/docs/cairo/"
20readme = "README.md"
21keywords = ["cairo", "gtk-rs", "gnome", "GUI"]
22license = "MIT"
23repository = "https://github.com/gtk-rs/gtk-rs-core"
24[package.metadata.docs.rs]
25features = ["dox"]
26
27[lib]
28name = "cairo"
29[dependencies.bitflags]
30version = "1.0"
31
32[dependencies.ffi]
33version = "0.14.0"
34package = "cairo-sys-rs"
35
36[dependencies.freetype-crate]
37version = "0.7.0"
38optional = true
39package = "freetype"
40
41[dependencies.glib]
42version = "0.14.0"
43optional = true
44
45[dependencies.libc]
46version = "0.2"
47
48[dependencies.thiserror]
49version = "1.0.10"
50[dev-dependencies.tempfile]
51version = "3.0"
52
53[features]
54default = ["use_glib"]
55dox = ["ffi/dox", "glib/dox", "freetype"]
56freetype = ["ffi/freetype", "freetype-crate"]
57pdf = ["ffi/pdf"]
58png = ["ffi/png"]
59ps = ["ffi/ps"]
60script = ["ffi/script"]
61svg = ["ffi/svg"]
62use_glib = ["glib", "ffi/use_glib"]
63v1_16 = ["ffi/v1_16"]
64win32-surface = ["ffi/win32-surface"]
65xcb = ["ffi/xcb"]
66xlib = ["ffi/xlib"]
67