mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-05-27 21:50:41 +00:00
Removed dev-deps to serde_yaml
This commit is contained in:
@@ -58,7 +58,6 @@ rand = "0.7"
|
||||
maplit = "1"
|
||||
matches = "0.1.8"
|
||||
proptest = "0.10"
|
||||
serde_yaml = "0.8.13"
|
||||
|
||||
[dev-dependencies.fail]
|
||||
version = "0.4"
|
||||
|
||||
@@ -309,17 +309,4 @@ mod tests {
|
||||
_ => panic!("expected FieldType::Str"),
|
||||
}
|
||||
}
|
||||
#[test]
|
||||
fn test_yaml_deserialization() {
|
||||
let schema_content = r#"
|
||||
name: text
|
||||
type: text
|
||||
options:
|
||||
indexing:
|
||||
record: position
|
||||
tokenizer: default
|
||||
stored: true
|
||||
"#;
|
||||
serde_yaml::from_str::<FieldEntry>(schema_content).unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user