# 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 = "sixtyfps-rendering-backend-gl"
version = "0.0.5"
authors = ["SixtyFPS <info@sixtyfps.io>"]
description = "OpenGL rendering backend for SixtyFPS"
homepage = "https://sixtyfps.io"
license = "GPL-3.0-only"
repository = "https://github.com/sixtyfpsui/sixtyfps"

[lib]
path = "lib.rs"
[dependencies.by_address]
version = "1.0.4"

[dependencies.const-field-offset]
version = "0.1"

[dependencies.copypasta]
version = "0.7.0"
default-features = false

[dependencies.euclid]
version = "0.22.1"

[dependencies.femtovg]
version = "0.1.1"

[dependencies.fontdb]
version = "0.5.1"
default-features = false

[dependencies.image]
version = "0.23.12"
default-features = false

[dependencies.imgref]
version = "1.6.1"

[dependencies.lyon_path]
version = "0.17"

[dependencies.once_cell]
version = "1.5"

[dependencies.pin-weak]
version = "1"

[dependencies.resvg]
version = "0.13"
optional = true
default-features = false

[dependencies.rgb]
version = "0.8"

[dependencies.scoped-tls-hkt]
version = "0.1"

[dependencies.sixtyfps-corelib]
version = "=0.0.5"
features = ["femtovg_backend"]

[dependencies.smallvec]
version = "1.4.1"

[dependencies.tiny-skia]
version = "0.4.2"
optional = true
default-features = false

[dependencies.usvg]
version = "0.13"
optional = true
default-features = false

[dependencies.vtable]
version = "0.1"

[features]
default = ["x11", "svg"]
svg = ["resvg", "usvg", "tiny-skia"]
wayland = ["winit/wayland", "glutin/wayland", "copypasta/wayland"]
x11 = ["winit/x11", "glutin/x11", "copypasta/x11"]
[target."cfg(not(any(target_family = \"windows\", target_os = \"macos\", target_os = \"ios\", target_arch = \"wasm32\")))".dependencies.servo-fontconfig]
version = "0.5"
features = ["force_system_lib"]
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.font-kit]
version = "0.10"
features = ["loader-freetype"]

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.glow]
version = "0.7.0"
default-features = false

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.glutin]
version = "0.26"
default-features = false

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.winit]
version = "0.24"
default-features = false
[target."cfg(target_arch = \"wasm32\")".dependencies.ttf-parser]
version = "0.9"

[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen]
version = "0.2"

[target."cfg(target_arch = \"wasm32\")".dependencies.web_sys]
version = "0.3"
features = ["console", "WebGlContextAttributes"]
package = "web-sys"

[target."cfg(target_arch = \"wasm32\")".dependencies.winit]
version = "0.24"
features = ["web-sys"]
default-features = false
[target."cfg(target_os = \"macos\")".dependencies.cocoa]
version = "0.24.0"

[target."cfg(target_os = \"macos\")".dependencies.core-foundation]
version = "0.9.1"

[target."cfg(target_os = \"macos\")".dependencies.core-text]
version = "19.1.0"
