mirror of
https://gitlab.com/news-flash/article_scraper.git
synced 2025-07-07 16:15:32 +02:00
resolver 2
This commit is contained in:
parent
89eb87fa85
commit
7c658a4ba8
2 changed files with 3 additions and 5 deletions
|
@ -1,8 +1,6 @@
|
|||
[workspace]
|
||||
members = [
|
||||
"article_scraper",
|
||||
"article_scraper_cli",
|
||||
]
|
||||
members = ["article_scraper", "article_scraper_cli"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
version = "2.1.1"
|
||||
|
|
|
@ -275,7 +275,7 @@ impl FullTextParser {
|
|||
/// See:
|
||||
/// - <https://github.com/KWARC/rust-libxml/issues/111>
|
||||
/// - <https://github.com/Orange-OpenSource/hurl/issues/1535>
|
||||
/// These two functions should be removed when the issue is fixed in libxml crate.
|
||||
/// These two functions should be removed when the issue is fixed in libxml crate.
|
||||
fn try_usize_to_i32(value: usize) -> Result<i32, libxml::parser::XmlParseError> {
|
||||
if cfg!(target_pointer_width = "16") || (value < i32::MAX as usize) {
|
||||
// Cannot safely use our value comparison, but the conversion if always safe.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue