summaryrefslogtreecommitdiffstats
path: root/vendor/gix-odb/Cargo.toml
blob: a171d68b36c3368d5396c1206eaaaa63e8daf876 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# 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.64"
name = "gix-odb"
version = "0.46.0"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
include = [
    "src/**/*",
    "LICENSE-*",
    "CHANGELOG.md",
]
description = "Implements various git object databases"
license = "MIT/Apache-2.0"
repository = "https://github.com/Byron/gitoxide"

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

[lib]
doctest = false

[[test]]
name = "multi-threaded"
path = "tests/odb-multi-threaded.rs"
required-features = ["internal-testing-gix-features-parallel"]

[[test]]
name = "single-threaded"
path = "tests/odb-single-threaded.rs"
required-features = []

[dependencies.arc-swap]
version = "1.5.0"

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

[dependencies.gix-features]
version = "^0.30.0"
features = [
    "rustsha1",
    "walkdir",
    "zlib",
    "crc32",
]

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

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

[dependencies.gix-pack]
version = "^0.36.0"

[dependencies.gix-path]
version = "^0.8.1"

[dependencies.gix-quote]
version = "^0.4.4"

[dependencies.parking_lot]
version = "0.12.0"

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

[dependencies.tempfile]
version = "3.1.0"

[dependencies.thiserror]
version = "1.0.26"

[dev-dependencies.crossbeam-channel]
version = "0.5.6"

[dev-dependencies.filetime]
version = "0.2.15"

[dev-dependencies.maplit]
version = "1.0.2"

[dev-dependencies.pretty_assertions]
version = "1.0.0"

[features]
internal-testing-gix-features-parallel = ["gix-features/parallel"]
serde = [
    "dep:serde",
    "gix-hash/serde",
    "gix-object/serde",
    "gix-pack/serde",
]