-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove femtovg/nanovg demo which is already in inlottie
- Loading branch information
Showing
3 changed files
with
2 additions
and
592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
name = "intvg" | ||
version = "0.1.7" | ||
edition = "2021" | ||
default-run = "intvg" | ||
license = "MIT OR Apache-2.0" | ||
authors = [ "MeiHui FAN <[email protected]>" ] | ||
repository = "https://github.com/mhfan/intvg" # https://crates.io/category_slugs | ||
|
@@ -24,19 +23,6 @@ usvg = "0.42" | |
#build-time = { version = "0.1", git = "https://github.com/AlephAlpha/build-time" } | ||
png = { version = "0.17", optional = true } | ||
|
||
winit = { version = "0.29", optional = true } | ||
femtovg = { version = "0.9", optional = true } | ||
|
||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] | ||
glutin = { version = "0.31", optional = true } # [email protected] | ||
glutin-winit = { version = "0.4", optional = true } | ||
raw-window-handle = { version = "0.5", optional = true } # HasRawWindowHandle | ||
|
||
[target.'cfg(target_arch = "wasm32")'.dependencies] | ||
web_sys = { version = "0.3", package = "web-sys", features = [ | ||
"console", "WebGlContextAttributes", | ||
] } | ||
|
||
[lib] | ||
# Disable doctests as a workaround for https://github.com/rust-lang/rust-bindgen/issues/1313 | ||
#doctest = false | ||
|
@@ -52,15 +38,8 @@ ftg = [] | |
evg_fixed = [ "evg" ] # quite slow than floating point on Apple M1 | ||
evg = [ "dep:png" ] | ||
|
||
nvg = [ "femtovg", "winit", "glutin", "glutin-winit", "raw-window-handle" ] | ||
|
||
#cc = [ "dep:cc", "dep:bindgen", "dep:glob" ] # implied by optional dependency | ||
#default = [ "b2d", "evg", "nvg" ] # XXX: ftg/ovg/ugl not completely work yet | ||
|
||
[[bin]] | ||
name = "nanovg" | ||
path = "src/nanovg.rs" | ||
required-features = [ "nvg" ] | ||
#default = [ "b2d", "evg" ] # XXX: ftg/ovg/ugl not completely work yet | ||
|
||
[[bench]] | ||
name = "engine_2d" | ||
|
Oops, something went wrong.