diff options
author | Jovansonlee Cesar <ivanceras@gmail.com> | 2020-09-21 19:07:44 +0800 |
---|---|---|
committer | Jovansonlee Cesar <ivanceras@gmail.com> | 2020-09-21 19:08:37 +0800 |
commit | bc8d9cde35ee82c5fd35f8e35673621f6d656e29 (patch) | |
tree | 7b06d68aba30c00062856e8e5ae2eeb679ec38e7 | |
parent | cefeaab795275afefe0ef017f8ba42c0fc254cdf (diff) |
update to latest sauron
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | svgbob/Cargo.toml | 2 | ||||
-rw-r--r-- | svgbob/TODO.md | 5 | ||||
-rwxr-xr-x | svgbob/run_svg_to_ascii.sh | 1 | ||||
-rw-r--r-- | svgbob/src/lib.rs | 1 |
5 files changed, 6 insertions, 5 deletions
@@ -4,6 +4,6 @@ members = [ "svgbob_cli", ] -[path.crates-io] +#[path.crates-io] #sauron = { path = "../sauron" } #mt-dom = { path = "../mt-dom" } diff --git a/svgbob/Cargo.toml b/svgbob/Cargo.toml index 8339fc9..fc1196a 100644 --- a/svgbob/Cargo.toml +++ b/svgbob/Cargo.toml @@ -13,7 +13,7 @@ license = "Apache-2.0" nalgebra = "0.18.0" ncollide2d = "0.19.1" lazy_static = "1.3.0" -sauron = { version = "0.31", default-features = false } +sauron = { version = "0.32", default-features = false } unicode-width = "0.1.5" itertools = "0.8.0" pom = { version = "3.1.0" } diff --git a/svgbob/TODO.md b/svgbob/TODO.md index 61665f0..0a73591 100644 --- a/svgbob/TODO.md +++ b/svgbob/TODO.md @@ -1,12 +1,13 @@ ## TODO - [ ] detect rectangles -- [x] detect whether used as text or used as graphs (if any of the 8 has no get character then it is used as text) +- [x] detect whether used as text or used as graphs (if any of the 8 has no get character then it is used as text) - [ ] complete the specs - [ ] ~~Make the string literal escape work multiline~~ Impractical -- [x] Make a swap out interface. +- [x] Make a swap out interface. - useful for detecting broken lines such as - - - and replace it with ~~~~~. This way it will be easier to process by the fragment emitter - [ ] Group traced elements together, then reduce as needed - [x] Add `#` as square start marker for lines - [x] Support for geometric shapes https://en.wikipedia.org/wiki/Geometric_Shapes - [x] Add enhance circle, detect circles then enhance it. +- [ ] Add test cases diff --git a/svgbob/run_svg_to_ascii.sh b/svgbob/run_svg_to_ascii.sh deleted file mode 100755 index 55d8ed4..0000000 --- a/svgbob/run_svg_to_ascii.sh +++ /dev/null @@ -1 +0,0 @@ -reset && RUST_BACKTRACE=1 cargo run --release --example svg_to_ascii --features "drawing" diff --git a/svgbob/src/lib.rs b/svgbob/src/lib.rs index 92fea4a..055b8e6 100644 --- a/svgbob/src/lib.rs +++ b/svgbob/src/lib.rs @@ -10,6 +10,7 @@ pub use buffer::{ Signal, }; pub use point::Point; +pub use sauron; pub use sauron::{Node, Render}; /// convert svgbob ascii art to svg |