Skip to content

Commit

Permalink
Update to aquascope 0.3. Bump to 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
willcrichton committed Sep 20, 2023
1 parent 8dba8e5 commit cd65a26
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 18 deletions.
32 changes: 17 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions crates/mdbook-quiz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "mdbook-quiz"
authors = ["Will Crichton <[email protected]>"]
description = "Interactive quizzes for your mdBook"
license = "MIT OR Apache-2.0"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
include = ["/src", "/js"]
repository = "https://github.com/cognitive-engineering-lab/mdbook-quiz"
Expand All @@ -21,7 +21,7 @@ html-escape = "0.2"
toml = { workspace = true }
mdbook = "= 0.4.25"
mdbook-preprocessor-utils = "0.1"
mdbook-aquascope = {version = "0.2", optional = true}
mdbook-aquascope = {version = "0.3", optional = true}
mdbook-quiz-schema = {path = "../mdbook-quiz-schema", version = "0.1.1"}
mdbook-quiz-validate = {path = "../mdbook-quiz-validate", version = "0.1.1"}
toml_edit = "0.20.0"
Expand Down
3 changes: 2 additions & 1 deletion crates/mdbook-quiz/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ impl SimplePreprocessor for QuizPreprocessor {
config,
question_ids: IdSet::default(),
#[cfg(feature = "aquascope")]
aquascope: mdbook_aquascope::AquascopePreprocessor::new()?,
aquascope: mdbook_aquascope::AquascopePreprocessor::new()
.context("Aquascope failed to initialize")?,
})
}

Expand Down

0 comments on commit cd65a26

Please sign in to comment.