Skip to content

Commit 57c9b62

Browse files
authored
Merge pull request #1 from zprobst/docs/README
Add readme
2 parents 2bb113f + b4267c2 commit 57c9b62

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

Cargo.toml

-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ repository = "https://github.com/zprobst/amalgamator"
99
[dependencies]
1010
serde = { version = "1", optional = true }
1111

12-
[features]
13-
serde = ["dep:serde"]
14-
1512
[dev-dependencies]
1613
serde_json = "1"
1714
serde = { version = "1", features = ["derive"] }

README.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# `amalgamator`
2+
3+
## Description
4+
5+
`amalgamator` is a set/map like data structure that allows you to combine members of the set/map together based on some criteria.
6+
7+
This is useful when you want to merge objects together that aren't strictly equal, but are similar enough that you want to treat them as the same object.
8+
9+
## Installation
10+
11+
```bash
12+
cargo add amalgamator
13+
```
14+
15+
### Serde Support
16+
17+
If you want to use `serde` support, you can enable the `serde` feature.
18+
19+
```bash
20+
cargo add amalgamator --features serde
21+
```
22+
23+
## Documentation
24+
25+
View the docs on the docs.rs [Documentation](https://docs.rs/amalgamator) page.
26+
27+
## License
28+
29+
This project is licensed under the MIT license or the Apache 2.0 license, at your option.

0 commit comments

Comments
 (0)