We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4912e8c commit 60f97b0Copy full SHA for 60f97b0
Cargo.toml
@@ -10,3 +10,6 @@ repository = "https://github.com/the-type-founders/unicode-writing-script"
10
readme = "README.md"
11
categories = ["text-processing"]
12
keywords = ["writing-script", "unicode"]
13
+
14
+[build-dependencies]
15
+serde_json = { version = "1", default-features = false, features = ["std"] }
build.rs
@@ -0,0 +1,7 @@
1
+use std::collections::HashMap;
2
3
+const DATA: &str = include_str!("vendor/detect-writing-script/data.json");
4
5
+fn main() {
6
+ let _: HashMap<String, Vec<[usize; 2]>> = serde_json::from_str(DATA).unwrap();
7
+}
0 commit comments