You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: put serde functionality behind a feature flag (#36)
* refactor: put `serde` functionality behind a feature flag
* ci: check code without default features enabled
* docs: instructions for installing without serialization support, and `rgd` example
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,13 @@ Install with:
26
26
cargo add lib_game_detector
27
27
```
28
28
29
+
Support for serialization via `serde`, which is enabled by default, can be disabled
30
+
by installing with:
31
+
32
+
```sh
33
+
cargo add lib_game_detector --no-default-features
34
+
```
35
+
29
36
## Usage
30
37
31
38
```rust
@@ -40,7 +47,8 @@ let all_games_from_steam = detector.get_all_detected_games_from_specific_launche
40
47
41
48
## Examples
42
49
43
-
- See [rofi-games](https://github.com/Rolv-Apneseth/rofi-games) for an example which uses this library to find games and their box art to use for displaying in a launcher
50
+
- Checkout [rofi-games](https://github.com/Rolv-Apneseth/rofi-games) or [rgd](https://github.com/Rolv-Apneseth/rgd)
51
+
to see this library being used to find games and their box art for displaying in a launcher
44
52
- Check the [examples folder](https://github.com/Rolv-Apneseth/lib_game_detector/tree/main/examples)
//! - See [rofi-games](https://github.com/Rolv-Apneseth/rofi-games) for an example which uses this library to find games and their box art to use for displaying in a launcher
46
+
//! - Checkout [rofi-games](https://github.com/Rolv-Apneseth/rofi-games) or [rgd](https://github.com/Rolv-Apneseth/rgd)
47
+
//! to see this library being used to find games and their box art for displaying in a launcher
40
48
//! - Check the [examples folder](https://github.com/Rolv-Apneseth/lib_game_detector/tree/main/examples)
0 commit comments