mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 21:37:59 +00:00

* Implement Path Tool * Draw a red rectangle where the first point on the shape is * Correctly render anchors, handles, and connecting lines * Fix drain() which can panic * Refactor frontend messages to work as return values not callbacks * Reduce the number of unnecessary frontend updates * Fix stack overflow by using a loop * Group Document Render calls and put them at the end * Speed hacks for dirtification * Add performance * Bunch folder changed updates * Add triggers to redraw overlays to movement_handler * Polish the pixel-perfect rendering of vector manipulators * Restore scrollbars that were disabled * Cleanup * WIP Add shape outline rendering * Fix compiling * Add outlines to selected shapes * Fix outlines rendering over handles and anchors * Fix dirtification * Add a comment * Address code review feedback * Formatting * Small tweaks Co-authored-by: Oliver Davies <oliver@psyfer.io> Co-authored-by: Dennis Kobert <dennis@kobert.dev>
46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
name = "graphite-wasm"
|
|
version = "0.1.0"
|
|
authors = ["Graphite Authors <contact@graphite.design>"]
|
|
edition = "2018"
|
|
readme = "../../README.md"
|
|
homepage = "https://www.graphite.design"
|
|
repository = "https://github.com/GraphiteEditor/Graphite"
|
|
license = "Apache-2.0"
|
|
publish = false
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[features]
|
|
default = ["console_error_panic_hook"]
|
|
|
|
[dependencies]
|
|
console_error_panic_hook = { version = "0.1.6", optional = true }
|
|
editor = { path = "../../editor", package = "graphite-editor" }
|
|
graphene = { path = "../../graphene", package = "graphite-graphene" }
|
|
log = "0.4"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
wasm-bindgen = { version = "0.2.73", features = ["serde-serialize"] }
|
|
|
|
[profile.dev]
|
|
opt-level = 3
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = "0.3.22"
|
|
|
|
[package.metadata.wasm-pack.profile.dev]
|
|
wasm-opt = false
|
|
|
|
[package.metadata.wasm-pack.profile.dev.wasm-bindgen]
|
|
debug-js-glue = true
|
|
demangle-name-section = true
|
|
dwarf-debug-info = true
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
wasm-opt = ["-Os"]
|
|
|
|
[package.metadata.wasm-pack.profile.release.wasm-bindgen]
|
|
debug-js-glue = false
|
|
demangle-name-section = false
|
|
dwarf-debug-info = false
|