mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Avoid direct dependency on saphyr-parser
This commit is contained in:
Generated
-1
@@ -558,7 +558,6 @@ dependencies = [
|
||||
"rayon",
|
||||
"rustc-hash",
|
||||
"saphyr",
|
||||
"saphyr-parser",
|
||||
"tempfile",
|
||||
"unicase",
|
||||
"windows",
|
||||
|
||||
@@ -12,7 +12,6 @@ petgraph = "0.8.1"
|
||||
rayon = "1.10.0"
|
||||
rustc-hash = "2.1.1"
|
||||
saphyr = "0.0.4"
|
||||
saphyr-parser = "0.0.4"
|
||||
unicase = "2.8.1"
|
||||
|
||||
esplugin.workspace = true
|
||||
|
||||
@@ -56,10 +56,7 @@ pub fn to_unmarked_yaml<'a>(yaml: &MarkedYaml<'a>) -> Yaml<'a> {
|
||||
}
|
||||
|
||||
pub fn as_string_node(value: &str) -> MarkedYaml {
|
||||
MarkedYaml {
|
||||
span: saphyr_parser::Span::default(),
|
||||
data: YamlData::Value(Scalar::String(value.into())),
|
||||
}
|
||||
MarkedYaml::value_from_str(value)
|
||||
}
|
||||
|
||||
pub fn get_string_value<'a>(
|
||||
|
||||
Reference in New Issue
Block a user