markitdown-rs 0.2.1__tar.gz → 0.2.2__tar.gz

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.
Files changed (103) hide show
  1. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/PKG-INFO +1 -1
  2. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/Cargo.toml +3 -3
  3. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/README.md +4 -4
  4. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/convert.rs +13 -0
  5. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/xml.rs +22 -6
  6. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/tests/robustness.rs +6 -4
  7. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-py/Cargo.lock +17 -51
  8. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-py/Cargo.toml +2 -2
  9. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/README.md +0 -0
  10. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/examples/bench.rs +0 -0
  11. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/base64.rs +0 -0
  12. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/detect.rs +0 -0
  13. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/docx/dingbats.rs +0 -0
  14. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/docx/html.rs +0 -0
  15. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/docx/math.rs +0 -0
  16. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/docx/mod.rs +0 -0
  17. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/docx/package.rs +0 -0
  18. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/docx/reader.rs +0 -0
  19. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/dom.rs +0 -0
  20. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/epub.rs +0 -0
  21. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/fetch.rs +0 -0
  22. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/formats.rs +0 -0
  23. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/html/entities.rs +0 -0
  24. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/html/mod.rs +0 -0
  25. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/html/parser.rs +0 -0
  26. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/lib.rs +0 -0
  27. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/markdownify.rs +0 -0
  28. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/media.rs +0 -0
  29. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/msg.rs +0 -0
  30. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/ole.rs +0 -0
  31. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/cmap.rs +0 -0
  32. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/cmap_index.rs +0 -0
  33. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/cmaps.bin +0 -0
  34. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/crypt.rs +0 -0
  35. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/document.rs +0 -0
  36. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/encoding.rs +0 -0
  37. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/filters.rs +0 -0
  38. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/font.rs +0 -0
  39. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/interp.rs +0 -0
  40. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/layout.rs +0 -0
  41. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/lexer.rs +0 -0
  42. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/metrics.rs +0 -0
  43. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/mod.rs +0 -0
  44. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/object.rs +0 -0
  45. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/page.rs +0 -0
  46. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/plumber.rs +0 -0
  47. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/tables.rs +0 -0
  48. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/truetype.rs +0 -0
  49. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pdf/xref.rs +0 -0
  50. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/plain.rs +0 -0
  51. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pptx/chart.rs +0 -0
  52. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pptx/mod.rs +0 -0
  53. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pystr.rs +0 -0
  54. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/pyurl.rs +0 -0
  55. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/rss.rs +0 -0
  56. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/sheet/biff4.rs +0 -0
  57. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/sheet/frame.rs +0 -0
  58. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/sheet/mod.rs +0 -0
  59. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/sheet/xls.rs +0 -0
  60. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/sheet/xlsx.rs +0 -0
  61. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/text.rs +0 -0
  62. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/youtube.rs +0 -0
  63. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/zip.rs +0 -0
  64. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/src/zipfile.rs +0 -0
  65. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/tests/charset_sampling.rs +0 -0
  66. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/tests/common/mod.rs +0 -0
  67. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/tests/exiftool.rs +0 -0
  68. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-core/tests/parity.rs +0 -0
  69. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-py/README.md +0 -0
  70. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-py/markitdown_rs.pth +0 -0
  71. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-py/markitdown_rs_guard.py +0 -0
  72. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-py/src/lib.rs +0 -0
  73. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-py/tests/data/images.xlsx +0 -0
  74. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-py/tests/test_api.py +0 -0
  75. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown-py/tests/test_markitdown.py +0 -0
  76. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown_rs.pth +0 -0
  77. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/markitdown_rs_guard.py +0 -0
  78. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/pyproject.toml +0 -0
  79. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/__about__.py +0 -0
  80. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/__init__.py +0 -0
  81. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/__main__.py +0 -0
  82. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/_base_converter.py +0 -0
  83. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/_exceptions.py +0 -0
  84. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/_markitdown.py +0 -0
  85. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/_stream_info.py +0 -0
  86. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converter_utils/__init__.py +0 -0
  87. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converter_utils/_image.py +0 -0
  88. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converter_utils/docx/__init__.py +0 -0
  89. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converter_utils/docx/_images.py +0 -0
  90. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converter_utils/docx/math/__init__.py +0 -0
  91. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converter_utils/docx/math/latex_dict.py +0 -0
  92. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converter_utils/docx/math/omml.py +0 -0
  93. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converter_utils/docx/pre_process.py +0 -0
  94. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converters/__init__.py +0 -0
  95. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converters/_cu_converter.py +0 -0
  96. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converters/_doc_intel_converter.py +0 -0
  97. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converters/_llm_caption.py +0 -0
  98. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converters/_native.py +0 -0
  99. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/converters/_transcribe_audio.py +0 -0
  100. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown/py.typed +0 -0
  101. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown_mcp/__about__.py +0 -0
  102. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown_mcp/__init__.py +0 -0
  103. {markitdown_rs-0.2.1 → markitdown_rs-0.2.2}/python/markitdown_mcp/__main__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: markitdown-rs
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  name = "markitdown-core"
3
3
  description = "Convert PDF, Word, PowerPoint, Excel, HTML, EPUB, Outlook and more to Markdown, byte-for-byte identical to Microsoft's Python markitdown"
4
- version = "0.2.1"
4
+ version = "0.2.2"
5
5
  edition = "2024"
6
6
  rust-version = "1.88.0"
7
7
  license = "MIT"
@@ -14,13 +14,13 @@ authors = ["majiayu000 <1835304752@qq.com>"]
14
14
 
15
15
  [dependencies]
16
16
  aes = "0.8"
17
- calamine = { version = "0.37", default-features = false }
17
+ calamine = { version = "0.38", default-features = false }
18
18
  cfb = "0.10"
19
19
  chardetng = "0.1"
20
20
  encoding_rs = "0.8"
21
21
  flate2 = { version = "1.1", default-features = false, features = ["zlib-rs"] }
22
22
  md-5 = "0.10"
23
- quick-xml = { version = "0.37.5", default-features = false }
23
+ quick-xml = { version = "0.41", default-features = false }
24
24
  serde_json = { version = "1", features = ["preserve_order"] }
25
25
  sha2 = "0.10"
26
26
  ureq = { version = "3.5", optional = true }
@@ -192,8 +192,8 @@ curl -L https://github.com/majiayu000/markitdown-rs/releases/download/v0.2.1/mar
192
192
  ```
193
193
 
194
194
  From a checkout: `cargo install --path crates/markitdown-rs`. All of these
195
- install a binary named `markitdown`. The PyPI package (`markitdown-rs`,
196
- the Python module) is not published yet.
195
+ install a binary named `markitdown`. The [PyPI package](https://pypi.org/project/markitdown-rs/)
196
+ is also available: `python -m pip install "markitdown-rs[mcp]"` in a fresh Python 3.10+ environment.
197
197
 
198
198
  ## Usage
199
199
 
@@ -288,8 +288,8 @@ flags (`--http`, `--host`, `--port`, `--sse`), honouring
288
288
  ### Python
289
289
 
290
290
  `crates/markitdown-py` builds a Python module with markitdown's API on top of
291
- the same converters (PyO3 + maturin). **It is not published to PyPI yet**;
292
- install it from source with maturin
291
+ the same converters (PyO3 + maturin). Install from [PyPI](https://pypi.org/project/markitdown-rs/)
292
+ with `python -m pip install "markitdown-rs[mcp]"`, or build from source with maturin
293
293
  ([crates/markitdown-py/README.md](crates/markitdown-py/README.md)). Its
294
294
  import name is `markitdown`, the same as Microsoft's package, so it cannot be
295
295
  installed in the same environment as `markitdown` from PyPI: use one or the
@@ -189,6 +189,19 @@ pub fn convert(data: &[u8], base: &StreamInfo, opts: &Options) -> Result<Documen
189
189
 
190
190
  #[cfg(test)]
191
191
  mod tests {
192
+ #[test]
193
+ fn a_panic_in_a_converter_is_a_conversion_error() {
194
+ let result: Result<(), super::Error> =
195
+ super::guarded("TestConverter", || panic!("index out of range"));
196
+ assert!(
197
+ matches!(&result, Err(super::Error::Conversion(m))
198
+ if m == "internal error in TestConverter: index out of range"),
199
+ "{result:?}"
200
+ );
201
+ // and the next conversion on this thread runs normally
202
+ assert_eq!(super::guarded("TestConverter", || Ok(7)).unwrap(), 7);
203
+ }
204
+
192
205
  use super::charset_sample;
193
206
 
194
207
  const LIMIT: usize = 65536;
@@ -104,9 +104,19 @@ pub fn parse(xml: &[u8], opts: &ParseOptions) -> Result<Element, Error> {
104
104
  let mut stack: Vec<Element> = Vec::new();
105
105
  let mut root: Option<Element> = None;
106
106
  let mut names = HashSet::new();
107
+ // quick-xml reports `&amp;` and `&#10;` as events of their own, between the text on
108
+ // either side. A run of both is put back together and valued as one piece of text, so
109
+ // unescaping and line-ending rules see what they saw when it arrived as one event.
110
+ let mut pending = String::new();
107
111
  let err = |e: &dyn std::fmt::Display| Error::Xml(e.to_string());
108
112
  loop {
109
113
  let ev = reader.read_event_into(&mut buf).map_err(|e| err(&e))?;
114
+ if !matches!(ev, Event::Text(_) | Event::GeneralRef(_)) && !pending.is_empty() {
115
+ if let Some(parent) = stack.last_mut() {
116
+ push_text(parent, &text_value(&pending, opts)?);
117
+ }
118
+ pending.clear();
119
+ }
110
120
  match ev {
111
121
  Event::Start(e) => {
112
122
  if stack.len() >= MAX_DEPTH {
@@ -129,9 +139,15 @@ pub fn parse(xml: &[u8], opts: &ParseOptions) -> Result<Element, Error> {
129
139
  attach(&mut stack, &mut root, el);
130
140
  }
131
141
  Event::Text(t) => {
132
- if let Some(parent) = stack.last_mut() {
133
- let raw = std::str::from_utf8(t.as_ref()).map_err(|e| err(&e))?;
134
- push_text(parent, &text_value(raw, opts)?);
142
+ if !stack.is_empty() {
143
+ pending.push_str(std::str::from_utf8(t.as_ref()).map_err(|e| err(&e))?);
144
+ }
145
+ }
146
+ Event::GeneralRef(r) => {
147
+ if !stack.is_empty() {
148
+ pending.push('&');
149
+ pending.push_str(std::str::from_utf8(r.as_ref()).map_err(|e| err(&e))?);
150
+ pending.push(';');
135
151
  }
136
152
  }
137
153
  Event::CData(t) => {
@@ -213,7 +229,7 @@ fn start_element(
213
229
  opts: &ParseOptions,
214
230
  names: &mut HashSet<Rc<str>>,
215
231
  ) -> Result<Element, Error> {
216
- let (ns, local) = reader.resolve_element(e.name());
232
+ let (ns, local) = reader.resolver().resolve_element(e.name());
217
233
  let (name, ns_uri) = if opts.raw_names {
218
234
  let uri = match ns {
219
235
  ResolveResult::Bound(u) => Some(intern(
@@ -248,7 +264,7 @@ fn start_element(
248
264
  }
249
265
  let k = if opts.raw_names {
250
266
  if !is_xmlns {
251
- let (ans, _) = reader.resolve_attribute(QName(key));
267
+ let (ans, _) = reader.resolver().resolve_attribute(QName(key));
252
268
  if let ResolveResult::Unknown(p) = ans {
253
269
  return Err(Error::Xml(format!(
254
270
  "unbound prefix {}",
@@ -258,7 +274,7 @@ fn start_element(
258
274
  }
259
275
  intern(names, String::from_utf8_lossy(key).into_owned())
260
276
  } else {
261
- let (ans, local) = reader.resolve_attribute(QName(key));
277
+ let (ans, local) = reader.resolver().resolve_attribute(QName(key));
262
278
  intern(names, canonical(opts, ans, local.as_ref())?)
263
279
  };
264
280
  let raw = std::str::from_utf8(&a.value).map_err(|e| Error::Xml(e.to_string()))?;
@@ -309,15 +309,17 @@ fn utf16_without_a_bom_is_decoded_as_markitdown_does() {
309
309
  }
310
310
 
311
311
  #[test]
312
- fn a_panicking_converter_is_a_conversion_error() {
313
- // calamine panics on this workbook cut short (an index out of range
314
- // in its compound-file reader); markitdown raises an ordinary error
312
+ fn a_truncated_workbook_is_a_conversion_error() {
313
+ // calamine up to 0.37 panicked on this workbook cut short (an index out
314
+ // of range in its compound-file reader, RUSTSEC-2026-0436) and 0.38
315
+ // reports it; either way markitdown raises an ordinary error. The panic
316
+ // path itself is covered by convert::tests.
315
317
  let root = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("../..");
316
318
  let xls = std::fs::read(root.join("tests/fixtures/xls/markitdown-test.xls")).unwrap();
317
319
  let cut = &xls[..xls.len() * 99 / 100];
318
320
  let err = convert(cut, &StreamInfo::from_path("cut.xls"), &Default::default()).unwrap_err();
319
321
  assert!(
320
- matches!(&err, markitdown_core::Error::Conversion(m) if m.contains("internal error in XlsConverter")),
322
+ matches!(&err, markitdown_core::Error::Conversion(m) if m.contains("XlsConverter")),
321
323
  "{err}"
322
324
  );
323
325
  }
@@ -29,12 +29,6 @@ dependencies = [
29
29
  "rustversion",
30
30
  ]
31
31
 
32
- [[package]]
33
- name = "autocfg"
34
- version = "1.5.1"
35
- source = "registry+https://github.com/rust-lang/crates.io-index"
36
- checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
37
-
38
32
  [[package]]
39
33
  name = "base64"
40
34
  version = "0.23.1"
@@ -76,9 +70,9 @@ checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
76
70
 
77
71
  [[package]]
78
72
  name = "calamine"
79
- version = "0.37.0"
73
+ version = "0.38.0"
80
74
  source = "registry+https://github.com/rust-lang/crates.io-index"
81
- checksum = "c9ca341b94bc4b29e08970b1a03914fad2dfe177e2ecb67fcd6de9046004aafb"
75
+ checksum = "f431b67cba6122a1f7d26b7adafc71bbdf07026095fe811f5efc025d8748e1d8"
82
76
  dependencies = [
83
77
  "atoi_simd",
84
78
  "byteorder",
@@ -355,15 +349,6 @@ dependencies = [
355
349
  "hashbrown",
356
350
  ]
357
351
 
358
- [[package]]
359
- name = "indoc"
360
- version = "2.0.8"
361
- source = "registry+https://github.com/rust-lang/crates.io-index"
362
- checksum = "a37b2691796cffeb8a8cd305ac66e65841559f147f4e63231d0eafa4db5384d1"
363
- dependencies = [
364
- "rustversion",
365
- ]
366
-
367
352
  [[package]]
368
353
  name = "inout"
369
354
  version = "0.1.4"
@@ -404,7 +389,7 @@ checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
404
389
 
405
390
  [[package]]
406
391
  name = "markitdown-core"
407
- version = "0.2.1"
392
+ version = "0.2.2"
408
393
  dependencies = [
409
394
  "aes",
410
395
  "calamine",
@@ -413,7 +398,7 @@ dependencies = [
413
398
  "encoding_rs",
414
399
  "flate2",
415
400
  "md-5",
416
- "quick-xml 0.37.5",
401
+ "quick-xml 0.41.0",
417
402
  "serde_json",
418
403
  "sha2",
419
404
  "ureq",
@@ -422,7 +407,7 @@ dependencies = [
422
407
 
423
408
  [[package]]
424
409
  name = "markitdown-py"
425
- version = "0.2.1"
410
+ version = "0.2.2"
426
411
  dependencies = [
427
412
  "markitdown-core",
428
413
  "pyo3",
@@ -444,15 +429,6 @@ version = "2.8.3"
444
429
  source = "registry+https://github.com/rust-lang/crates.io-index"
445
430
  checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
446
431
 
447
- [[package]]
448
- name = "memoffset"
449
- version = "0.9.1"
450
- source = "registry+https://github.com/rust-lang/crates.io-index"
451
- checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
452
- dependencies = [
453
- "autocfg",
454
- ]
455
-
456
432
  [[package]]
457
433
  name = "miniz_oxide"
458
434
  version = "0.9.1"
@@ -516,35 +492,32 @@ dependencies = [
516
492
 
517
493
  [[package]]
518
494
  name = "pyo3"
519
- version = "0.27.2"
495
+ version = "0.29.3"
520
496
  source = "registry+https://github.com/rust-lang/crates.io-index"
521
- checksum = "ab53c047fcd1a1d2a8820fe84f05d6be69e9526be40cb03b73f86b6b03e6d87d"
497
+ checksum = "700d18fa267b73b9b521fd7e13580e2f446916f176cacee1ab63fcc8191f1655"
522
498
  dependencies = [
523
- "indoc",
524
499
  "libc",
525
- "memoffset",
526
500
  "once_cell",
527
501
  "portable-atomic",
528
502
  "pyo3-build-config",
529
503
  "pyo3-ffi",
530
504
  "pyo3-macros",
531
- "unindent",
532
505
  ]
533
506
 
534
507
  [[package]]
535
508
  name = "pyo3-build-config"
536
- version = "0.27.2"
509
+ version = "0.29.3"
537
510
  source = "registry+https://github.com/rust-lang/crates.io-index"
538
- checksum = "b455933107de8642b4487ed26d912c2d899dec6114884214a0b3bb3be9261ea6"
511
+ checksum = "7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb"
539
512
  dependencies = [
540
513
  "target-lexicon",
541
514
  ]
542
515
 
543
516
  [[package]]
544
517
  name = "pyo3-ffi"
545
- version = "0.27.2"
518
+ version = "0.29.3"
546
519
  source = "registry+https://github.com/rust-lang/crates.io-index"
547
- checksum = "1c85c9cbfaddf651b1221594209aed57e9e5cff63c4d11d1feead529b872a089"
520
+ checksum = "dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330"
548
521
  dependencies = [
549
522
  "libc",
550
523
  "pyo3-build-config",
@@ -552,9 +525,9 @@ dependencies = [
552
525
 
553
526
  [[package]]
554
527
  name = "pyo3-macros"
555
- version = "0.27.2"
528
+ version = "0.29.3"
556
529
  source = "registry+https://github.com/rust-lang/crates.io-index"
557
- checksum = "0a5b10c9bf9888125d917fb4d2ca2d25c8df94c7ab5a52e13313a07e050a3b02"
530
+ checksum = "6100e8a4b5eba53afaa5ed078364851a0b2499c553a44c31026b929049b49dc6"
558
531
  dependencies = [
559
532
  "proc-macro2",
560
533
  "pyo3-macros-backend",
@@ -564,22 +537,21 @@ dependencies = [
564
537
 
565
538
  [[package]]
566
539
  name = "pyo3-macros-backend"
567
- version = "0.27.2"
540
+ version = "0.29.3"
568
541
  source = "registry+https://github.com/rust-lang/crates.io-index"
569
- checksum = "03b51720d314836e53327f5871d4c0cfb4fb37cc2c4a11cc71907a86342c40f9"
542
+ checksum = "6143877a16e82b5a727b7127ff4cd86858a24a28d745d72f43e6f227c7b1bdb3"
570
543
  dependencies = [
571
544
  "heck",
572
545
  "proc-macro2",
573
- "pyo3-build-config",
574
546
  "quote",
575
547
  "syn 2.0.119",
576
548
  ]
577
549
 
578
550
  [[package]]
579
551
  name = "quick-xml"
580
- version = "0.37.5"
552
+ version = "0.41.0"
581
553
  source = "registry+https://github.com/rust-lang/crates.io-index"
582
- checksum = "331e97a1af0bf59823e6eadffe373d7b27f485be8748f71471c662c1f269b7fb"
554
+ checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1"
583
555
  dependencies = [
584
556
  "memchr",
585
557
  ]
@@ -801,12 +773,6 @@ version = "1.0.27"
801
773
  source = "registry+https://github.com/rust-lang/crates.io-index"
802
774
  checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
803
775
 
804
- [[package]]
805
- name = "unindent"
806
- version = "0.2.4"
807
- source = "registry+https://github.com/rust-lang/crates.io-index"
808
- checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
809
-
810
776
  [[package]]
811
777
  name = "untrusted"
812
778
  version = "0.9.0"
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  name = "markitdown-py"
3
3
  description = "Python bindings of markitdown-rs (the `markitdown` module), built with maturin"
4
- version = "0.2.1"
4
+ version = "0.2.2"
5
5
  edition = "2024"
6
6
  rust-version = "1.88"
7
7
  license = "MIT"
@@ -18,7 +18,7 @@ crate-type = ["cdylib"]
18
18
 
19
19
  [dependencies]
20
20
  markitdown-core = { path = "../markitdown-core", features = ["fetch"] }
21
- pyo3 = { version = "0.27", features = ["extension-module", "abi3-py310"] }
21
+ pyo3 = { version = "0.29", features = ["extension-module", "abi3-py310"] }
22
22
 
23
23
  [profile.release]
24
24
  lto = "fat"
File without changes