summaryrefslogtreecommitdiffstats
path: root/vendor/gix-diff/Cargo.toml
blob: 681db4e74862c7ab88b506ac003f9dec1cdeb7d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.65"
name = "gix-diff"
version = "0.37.0"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
include = [
    "src/**/*",
    "LICENSE-*",
    "CHANGELOG.md",
]
autotests = false
description = "Calculate differences between various git objects"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Byron/gitoxide"

[package.metadata.docs.rs]
all-features = true
features = ["document-features"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[lib]
doctest = false

[dependencies.document-features]
version = "0.2.0"
optional = true

[dependencies.getrandom]
version = "0.2.8"
features = ["js"]
optional = true
default-features = false

[dependencies.gix-hash]
version = "^0.13.1"

[dependencies.gix-object]
version = "^0.38.0"

[dependencies.imara-diff]
version = "0.1.3"
optional = true

[dependencies.serde]
version = "1.0.114"
features = ["derive"]
optional = true
default-features = false

[dependencies.thiserror]
version = "1.0.32"

[features]
blob = ["dep:imara-diff"]
default = ["blob"]
serde = [
    "dep:serde",
    "gix-hash/serde",
    "gix-object/serde",
]
wasm = ["dep:getrandom"]