mirror of
https://github.com/mfontanini/presenterm.git
synced 2025-05-07 16:33:01 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d8067dfcd1 | ||
|
517bc4ebff | ||
|
9524ae34e7 | ||
|
72d84d5412 |
@ -1,3 +1,10 @@
|
|||||||
|
# v0.10.1 - 2025-0214
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
* Don't error out if `options` in front matter doesn't include `auto_render_languages` ([#454](https://github.com/mfontanini/presenterm/pull/454)).
|
||||||
|
* Bump sixel-rs to 0.4.1 to fix build in aarch64 and riscv64 ([#452](https://github.com/mfontanini/presenterm/pull/452)) - thanks @Xeonacid.
|
||||||
|
|
||||||
# v0.10.0 - 2025-02-02
|
# v0.10.0 - 2025-02-02
|
||||||
|
|
||||||
## New features
|
## New features
|
||||||
|
6
Cargo.lock
generated
6
Cargo.lock
generated
@ -1062,7 +1062,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "presenterm"
|
name = "presenterm"
|
||||||
version = "0.10.0"
|
version = "0.10.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ansi-parser",
|
"ansi-parser",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
@ -1565,9 +1565,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sixel-rs"
|
name = "sixel-rs"
|
||||||
version = "0.4.0"
|
version = "0.4.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "7fdcaca72707076e90144c669774282aeed367998c7cc04083fbc12de861c71c"
|
checksum = "29059f94eafb4ace543bb8777c7e2fdac7c6aeadca9adb28ef2eab977a62f7f8"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"sixel-sys",
|
"sixel-sys",
|
||||||
]
|
]
|
||||||
|
@ -4,7 +4,7 @@ authors = ["Matias Fontanini"]
|
|||||||
description = "A terminal slideshow presentation tool"
|
description = "A terminal slideshow presentation tool"
|
||||||
repository = "https://github.com/mfontanini/presenterm"
|
repository = "https://github.com/mfontanini/presenterm"
|
||||||
license = "BSD-2-Clause"
|
license = "BSD-2-Clause"
|
||||||
version = "0.10.0"
|
version = "0.10.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
@ -19,7 +19,7 @@ directories = "6.0"
|
|||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
flate2 = "1.0"
|
flate2 = "1.0"
|
||||||
image = { version = "0.25", features = ["gif", "jpeg", "png", "rayon"], default-features = false }
|
image = { version = "0.25", features = ["gif", "jpeg", "png", "rayon"], default-features = false }
|
||||||
sixel-rs = { version = "0.4", optional = true }
|
sixel-rs = { version = "0.4.1", optional = true }
|
||||||
merge-struct = "0.1.0"
|
merge-struct = "0.1.0"
|
||||||
itertools = "0.14"
|
itertools = "0.14"
|
||||||
once_cell = "1.19"
|
once_cell = "1.19"
|
||||||
|
@ -282,9 +282,6 @@
|
|||||||
},
|
},
|
||||||
"OptionsConfig": {
|
"OptionsConfig": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
|
||||||
"auto_render_languages"
|
|
||||||
],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"auto_render_languages": {
|
"auto_render_languages": {
|
||||||
"description": "Assume snippets for these languages contain `+render` and render them automatically.",
|
"description": "Assume snippets for these languages contain `+render` and render them automatically.",
|
||||||
|
@ -135,6 +135,7 @@ pub struct OptionsConfig {
|
|||||||
pub strict_front_matter_parsing: Option<bool>,
|
pub strict_front_matter_parsing: Option<bool>,
|
||||||
|
|
||||||
/// Assume snippets for these languages contain `+render` and render them automatically.
|
/// Assume snippets for these languages contain `+render` and render them automatically.
|
||||||
|
#[serde(default)]
|
||||||
pub auto_render_languages: Vec<SnippetLanguage>,
|
pub auto_render_languages: Vec<SnippetLanguage>,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -509,4 +510,9 @@ mod test {
|
|||||||
let config = KeyBindingsConfig::default();
|
let config = KeyBindingsConfig::default();
|
||||||
CommandKeyBindings::try_from(config).expect("construction failed");
|
CommandKeyBindings::try_from(config).expect("construction failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn default_options_serde() {
|
||||||
|
serde_yaml::from_str::<'_, OptionsConfig>("implicit_slide_ends: true").expect("failed to parse");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user