[package]
edition = "2018"
name = "math2d"
version = "0.2.0-alpha3"
authors = ["Connie Hilarides <conni_h@outlook.com>"]
description = "2D Mathematics library designed for use with 2D drawing applications.\n\nPrimarily designed for the needs of Direct2D, but this library should\nbe perfectly capable of filling in the needs of other libraries such\nas Cairo. If you would like interoperability defitions added please feel\nfree to open a pull request on the repository.\n\nCurrently compatible with:\n- `Direct2D` (winapi types)\n- `Mint` (crate)\n"
license = "MIT"
repository = "https://github.com/connicpu/math2d"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
features = ["docs"]
[dependencies.kurbo]
version = "0.1.0"
optional = true
[dependencies.mint]
version = "0.5.1"
optional = true
[dependencies.serde]
version = "1.0.79"
optional = true
[dependencies.serde_derive]
version = "1.0.79"
optional = true
[dev-dependencies.rand]
version = "0.5.5"
[features]
d2d = ["winapi"]
default = []
docs = ["serialize", "d2d", "mint", "kurbo"]
serialize = ["serde", "serde_derive"]
[target."cfg(windows)".dependencies.winapi]
version = "0.3.5"
features = ["dcommon", "d2dbasetypes", "d2d1", "dwrite", "wincodec"]
optional = true