# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "dwrote"
version = "0.11.0"
authors = ["The Servo Project Developers", "Vladimir Vukicevic <vladimir@pobox.com>"]
description = "Lightweight binding to DirectWrite."
license = "MPL-2.0"
repository = "https://github.com/servo/dwrote-rs"

[lib]
name = "dwrote"
[dependencies.lazy_static]
version = "1"

[dependencies.libc]
version = "0.2"

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.serde_derive]
version = "1.0"
optional = true

[dependencies.winapi]
version = "0.3.6"
features = ["dwrite", "dwrite_1", "dwrite_3", "winnt", "unknwnbase", "libloaderapi", "winnls"]

[dependencies.wio]
version = "0.2"

[features]
default = ["serde_serialization"]
serde_serialization = ["serde", "serde_derive"]
