diff options
author | Jovansonlee Cesar <ivanceras@gmail.com> | 2020-02-29 02:09:58 +0800 |
---|---|---|
committer | Jovansonlee Cesar <ivanceras@gmail.com> | 2020-02-29 02:09:58 +0800 |
commit | 8af87db3ce88eef85f19b36319510c0fe345e491 (patch) | |
tree | b81dbbf01e7bd07a3f9fd094484eab2ee4981af5 | |
parent | ec2beec5c585b776fe0f31b33fc0493e52c53061 (diff) |
Expose the with-dom feature in svgbob, this is to allow usage of the generated node readily usable as is in sauron projects, provided they uses the same version of sauron library
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | svgbob/Cargo.toml | 5 |
2 files changed, 4 insertions, 5 deletions
@@ -468,8 +468,6 @@ dependencies = [ [[package]] name = "sauron" version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "987022bf1b21c2d5d5cbd02af2af0a9c78b954b1e8b493e177250e43e5f6f28a" dependencies = [ "cfg-if", "js-sys", @@ -484,8 +482,6 @@ dependencies = [ [[package]] name = "sauron_vdom" version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f60ed6fcda6e9822203da7ecf0c04d14e6e85475992ada0589e0ad357e3f3179" dependencies = [ "log", ] diff --git a/svgbob/Cargo.toml b/svgbob/Cargo.toml index b110a82..adcf92a 100644 --- a/svgbob/Cargo.toml +++ b/svgbob/Cargo.toml @@ -13,9 +13,12 @@ license = "Apache-2.0" nalgebra = "0.18.0" ncollide2d = "0.19.1" lazy_static = "1.3.0" -sauron = { version = "0.22.0", default-features = false, features = ["with-dom"]} +sauron = { version = "0.22.0", path="../../sauron", default-features = false} unicode-width = "0.1.5" itertools = "0.8.0" pom = { version = "3.1.0" } +[features] +with-dom = ["sauron/with-dom"] + |