-
-
Notifications
You must be signed in to change notification settings - Fork 259
/
Cargo.toml
58 lines (46 loc) · 1.9 KB
/
Cargo.toml
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
[package]
name = "git-worktree"
version = "0.4.3"
repository = "https://github.com/Byron/gitoxide"
license = "MIT/Apache-2.0"
description = "A WIP crate of the gitoxide project dedicated implementing everything around working trees and git excludes"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
edition = "2018"
include = ["src/**/*", "CHANGELOG.md"]
[lib]
doctest = false
[[test]]
name = "multi-threaded"
path = "tests/worktree-multi-threaded.rs"
required-features = ["internal-testing-git-features-parallel"]
[[test]]
name = "single-threaded"
path = "tests/worktree-single-threaded.rs"
required-features = ["internal-testing-to-avoid-being-run-by-cargo-test-all"]
[features]
## Data structures implement `serde::Serialize` and `serde::Deserialize`.
serde1 = [ "serde", "bstr/serde1", "git-index/serde1", "git-hash/serde1", "git-object/serde1" ]
internal-testing-git-features-parallel = ["git-features/parallel"]
internal-testing-to-avoid-being-run-by-cargo-test-all = []
[dependencies]
git-index = { version = "^0.4.3", path = "../git-index" }
git-hash = { version = "^0.9.9", path = "../git-hash" }
git-object = { version = "^0.20.2", path = "../git-object" }
git-glob = { version = "^0.3.2", path = "../git-glob" }
git-path = { version = "^0.4.1", path = "../git-path" }
git-attributes = { version = "^0.3.3", path = "../git-attributes" }
git-features = { version = "^0.22.3", path = "../git-features" }
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"]}
thiserror = "1.0.26"
bstr = { version = "0.2.13", default-features = false }
document-features = { version = "0.2.0", optional = true }
io-close = "0.3.7"
[dev-dependencies]
git-testtools = { path = "../tests/tools" }
git-odb = { path = "../git-odb" }
symlink = "0.1.0"
walkdir = "2.3.2"
tempfile = "3.2.0"
[package.metadata.docs.rs]
features = ["document-features", "serde1"]
rustdoc-args = ["--cfg", "docsrs"]