html-to-markdown 3.5.0.pre.rc.2-aarch64-linux → 3.5.1-aarch64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/html_to_markdown_rb/Cargo.toml +1 -1
- data/ext/html_to_markdown_rb/native/Cargo.lock +6 -4
- data/ext/html_to_markdown_rb/native/Cargo.toml +2 -2
- data/ext/html_to_markdown_rb/src/lib.rs +23 -2
- data/lib/html_to_markdown/version.rb +2 -2
- data/lib/html_to_markdown_rb.so +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b5d088423adea3fd0c30677651c2fea7222dd26f6fc1497b288d1cb6b757b9e8
|
|
4
|
+
data.tar.gz: ab73668fe31abd7ba4370d7735bdb1e23ec07c10ec2a2499b50426df3098fb82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1501ab536a75f37ab3977346512bc0784956b658cac749a49b8a836f70531cc71e6c60e503d6859e06e2200e98998e09a0ad3c8c8b97c81e7be970bde309d51b
|
|
7
|
+
data.tar.gz: d374e4f28ec71696ed9aaa81619e0d05211313e11127dd2b55ce8c6bd24e0df3ed85392193003e8c200584b84c163dbcaa2380e941c9e6629549136b76eebddb
|
|
@@ -263,7 +263,7 @@ dependencies = [
|
|
|
263
263
|
|
|
264
264
|
[[package]]
|
|
265
265
|
name = "html-to-markdown-rb"
|
|
266
|
-
version = "3.5.
|
|
266
|
+
version = "3.5.1"
|
|
267
267
|
dependencies = [
|
|
268
268
|
"async-trait",
|
|
269
269
|
"html-to-markdown-rs",
|
|
@@ -275,7 +275,9 @@ dependencies = [
|
|
|
275
275
|
|
|
276
276
|
[[package]]
|
|
277
277
|
name = "html-to-markdown-rs"
|
|
278
|
-
version = "3.5.
|
|
278
|
+
version = "3.5.1"
|
|
279
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
280
|
+
checksum = "840471536d59c3e57516847532a0b157f33f3c4660eb2f8feed9e7e52b1e0c7b"
|
|
279
281
|
dependencies = [
|
|
280
282
|
"ahash",
|
|
281
283
|
"astral-tl",
|
|
@@ -378,9 +380,9 @@ dependencies = [
|
|
|
378
380
|
|
|
379
381
|
[[package]]
|
|
380
382
|
name = "log"
|
|
381
|
-
version = "0.4.
|
|
383
|
+
version = "0.4.30"
|
|
382
384
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
383
|
-
checksum = "
|
|
385
|
+
checksum = "616ec5685824bcc94416c6d4a7a446eea774a31efd7062c8480ba6fd06d7a6e5"
|
|
384
386
|
|
|
385
387
|
[[package]]
|
|
386
388
|
name = "lru"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "html-to-markdown-rb"
|
|
3
|
-
version = "3.5.
|
|
3
|
+
version = "3.5.1"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
license = "MIT"
|
|
6
6
|
description = "High-performance HTML to Markdown converter"
|
|
@@ -15,7 +15,7 @@ crate-type = ["cdylib"]
|
|
|
15
15
|
|
|
16
16
|
[dependencies]
|
|
17
17
|
async-trait = "0.1"
|
|
18
|
-
html-to-markdown-rs = { version = "3.5.
|
|
18
|
+
html-to-markdown-rs = { version = "3.5.1", features = ["full", "metadata", "visitor", "serde", "inline-images"] }
|
|
19
19
|
magnus = "0.8"
|
|
20
20
|
serde = { version = "1", features = ["derive"] }
|
|
21
21
|
serde_json = "1"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is auto-generated by alef. DO NOT EDIT.
|
|
2
|
-
// alef:hash:
|
|
2
|
+
// alef:hash:ba73e15ab165def7c9e66dab73cd8e1a8a2ae0b889e219e30bca99abe5b46be7
|
|
3
3
|
// Re-generate with: alef generate
|
|
4
4
|
#![allow(dead_code, unused_imports, unused_variables)]
|
|
5
5
|
#![allow(
|
|
@@ -2455,6 +2455,25 @@ impl ProcessingWarning {
|
|
|
2455
2455
|
}
|
|
2456
2456
|
}
|
|
2457
2457
|
|
|
2458
|
+
#[derive(Clone)]
|
|
2459
|
+
#[magnus::wrap(class = "HtmlToMarkdownRs::VisitorHandle")]
|
|
2460
|
+
pub struct VisitorHandle {
|
|
2461
|
+
inner: Arc<html_to_markdown_rs::visitor::VisitorHandle>,
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
unsafe impl IntoValueFromNative for VisitorHandle {}
|
|
2465
|
+
|
|
2466
|
+
impl magnus::TryConvert for VisitorHandle {
|
|
2467
|
+
fn try_convert(val: magnus::Value) -> Result<Self, magnus::Error> {
|
|
2468
|
+
let r: &VisitorHandle = magnus::TryConvert::try_convert(val)?;
|
|
2469
|
+
Ok(r.clone())
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
|
|
2473
|
+
unsafe impl TryConvertOwned for VisitorHandle {}
|
|
2474
|
+
|
|
2475
|
+
impl VisitorHandle {}
|
|
2476
|
+
|
|
2458
2477
|
#[derive(Clone, Debug, serde::Serialize, serde::Deserialize)]
|
|
2459
2478
|
#[magnus::wrap(class = "HtmlToMarkdownRs::NodeContext")]
|
|
2460
2479
|
pub struct NodeContext {
|
|
@@ -6242,7 +6261,7 @@ impl From<html_to_markdown_rs::NodeContent> for NodeContent {
|
|
|
6242
6261
|
entries: entries
|
|
6243
6262
|
.iter()
|
|
6244
6263
|
.map(|(a, b)| vec![a.to_string(), b.to_string()])
|
|
6245
|
-
.collect(),
|
|
6264
|
+
.collect::<Vec<Vec<String>>>(),
|
|
6246
6265
|
},
|
|
6247
6266
|
html_to_markdown_rs::NodeContent::Group {
|
|
6248
6267
|
label,
|
|
@@ -6871,6 +6890,8 @@ fn ruby_init(ruby: &Ruby) -> Result<(), Error> {
|
|
|
6871
6890
|
|
|
6872
6891
|
class.define_method("kind", method!(ProcessingWarning::kind, 0))?;
|
|
6873
6892
|
|
|
6893
|
+
let _class = module.define_class("VisitorHandle", ruby.class_object())?;
|
|
6894
|
+
|
|
6874
6895
|
let class = module.define_class("NodeContext", ruby.class_object())?;
|
|
6875
6896
|
|
|
6876
6897
|
class.define_singleton_method("new", function!(NodeContext::new, -1))?;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:a41661875c21cbc230e9290d0e9fce1c3cb5722b5f62010adee484b059541439
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify --exit-code
|
|
5
5
|
# Issues & docs: https://github.com/kreuzberg-dev/alef
|
|
6
6
|
# frozen_string_literal: true
|
|
7
7
|
|
|
8
8
|
module HtmlToMarkdown
|
|
9
|
-
VERSION = "3.5.
|
|
9
|
+
VERSION = "3.5.1"
|
|
10
10
|
end
|
data/lib/html_to_markdown_rb.so
CHANGED
|
Binary file
|