We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ea01cc commit bce044dCopy full SHA for bce044d
README.md
@@ -12,6 +12,21 @@ The library consists of two modules:
12
13
Both modules provide the `best_matching_locale` function.
14
15
+### Usage
16
+
17
+To use `locale-match` in your project, add it to your `Cargo.toml`:
18
19
+```toml
20
+# Both modules are included by default.
21
+locale-match = "x.y.z"
22
23
+# Include only the `bcp47` module.
24
+locale-match = { version = "x.y.z", default-features = false, features = ["bcp47"] }
25
26
+# Include only the `posix` module.
27
+locale-match = { version = "x.y.z", default-features = false, features = ["posix"] }
28
+```
29
30
## Examples
31
32
### BCP 47
0 commit comments