diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-04-24 15:57:00 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-05-01 13:15:41 +0100 |
commit | 2d1db750d50b6b68ca31d7ade1bba0316b792aa8 (patch) | |
tree | aab1541f3f26ceeaa130151bb8c10036c8f89ec9 /Cargo.lock | |
parent | 1315a361f8479d29d20128a35665aab2b84e13ed (diff) | |
download | subplot-2d1db750d50b6b68ca31d7ade1bba0316b792aa8.tar.gz |
pandoc_ast: Support multiple versions of pandoc_ast
In order to cope with multiple versions of Pandoc, we need to
support various pandoc_ast versions. This patch introduces
support for both 0.8 and 0.7, defaulting to the older 0.7. If
you use Subplot on a system with a much newer pandoc, then switch
to the 0.8 variant to cope.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -518,6 +518,17 @@ dependencies = [ [[package]] name = "pandoc_ast" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b960d9b78f94feb2a43ace4dda1d2b924a0d5a0639f399620fb54fe2943a9e7" +dependencies = [ + "serde", + "serde_derive", + "serde_json", +] + +[[package]] +name = "pandoc_ast" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a940e63c65b34a7be2f847de6847b4bc9b68d74e3f7a5c648ca2fa5317f3bd06" @@ -959,7 +970,8 @@ dependencies = [ "git-testament", "lazy_static", "pandoc", - "pandoc_ast", + "pandoc_ast 0.7.3", + "pandoc_ast 0.8.0", "pikchr", "regex", "roadmap", |