Showing the changes to git-diff (1 of 5 files). Show all
Unified · Split
| @@ -11,7 +11,10 @@ rust-version = "1.64" · 10 unmodified lines | ||
| 11 | 11 | autotests = false |
| 12 | 12 | |
| 13 | 13 | [features] |
| 14 | +## Data structures implement `serde::Serialize` and `serde::Deserialize`. | |
| 14 | 15 | serde1 = ["serde", "git-hash/serde1", "git-object/serde1"] |
| 16 | +## Make it possible to compile to the `wasm32-unknown-unknown` target. | |
| 17 | +wasm = ["dep:getrandom"] | |
| 15 | 18 | |
| 16 | 19 | [lib] |
| 17 | 20 | doctest = false |
| @@ -22,3 +25,4 @@ git-object = { version = "^0.26.1", path = "../git-object" } · 4 unmodified lines | ||
| 22 | 25 | thiserror = "1.0.32" |
| 23 | 26 | imara-diff = "0.1.3" |
| 24 | 27 | serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"]} |
| 28 | +getrandom = { version = "0.2.8", optional = true, default-features = false, features = ["js"] } | |