forked from GitoxideLabs/gitoxide
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
78 lines (67 loc) · 2.31 KB
/
Cargo.toml
File metadata and controls
78 lines (67 loc) · 2.31 KB
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
lints.workspace = true
[package]
name = "gix-object"
version = "0.49.1"
description = "Immutable and mutable git objects with decoding and encoding support"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
edition = "2021"
include = ["src/**/*", "LICENSE-*"]
rust-version = "1.70"
[lib]
doctest = false
[[bench]]
name = "decode-objects"
harness = false
path = "./benches/decode_objects.rs"
[[bench]]
name = "edit-tree"
harness = false
path = "./benches/edit_tree.rs"
[features]
## Data structures implement `serde::Serialize` and `serde::Deserialize`.
serde = [
"dep:serde",
"bstr/serde",
"smallvec/serde",
"gix-hash/serde",
"gix-actor/serde",
]
## When parsing objects by default errors will only be available on the granularity of success or failure, and with the above flag enabled
## details information about the error location will be collected.
## Use it in applications which expect broken or invalid objects or for debugging purposes. Incorrectly formatted objects aren't at all
## common otherwise.
verbose-object-parsing-errors = ["winnow/std"]
[dependencies]
gix-features = { version = "^0.42.1", path = "../gix-features", features = [
"progress",
] }
gix-hash = { version = "^0.18.0", path = "../gix-hash" }
gix-hashtable = { version = "^0.8.1", path = "../gix-hashtable" }
gix-validate = { version = "^0.10.0", path = "../gix-validate" }
gix-actor = { version = "^0.35.1", path = "../gix-actor" }
gix-date = { version = "^0.10.1", path = "../gix-date" }
gix-path = { version = "^0.10.17", path = "../gix-path" }
gix-utils = { version = "^0.3.0", path = "../gix-utils" }
itoa = "1.0.1"
thiserror = "2.0.0"
bstr = { version = "1.12.0", default-features = false, features = [
"std",
"unicode",
] }
winnow = { version = "0.7.10", features = ["simd"] }
smallvec = { version = "1.15.0", features = ["write"] }
serde = { version = "1.0.114", optional = true, default-features = false, features = [
"derive",
] }
document-features = { version = "0.2.0", optional = true }
[dev-dependencies]
criterion = "0.5.1"
pretty_assertions = "1.0.0"
gix-testtools = { path = "../tests/tools" }
gix-odb = { path = "../gix-odb" }
termtree = "0.5.1"
[package.metadata.docs.rs]
all-features = true
features = ["document-features"]