-
-
Notifications
You must be signed in to change notification settings - Fork 480
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (37 loc) · 1.33 KB
/
Cargo.toml
File metadata and controls
47 lines (37 loc) · 1.33 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
lints.workspace = true
[package]
name = "gix-discover"
version = "0.52.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
description = "Discover git repositories and check if a directory is a git repository"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2024"
include = ["/src/**/*", "/LICENSE-*"]
rust-version = "1.85"
[lib]
doctest = true
[features]
## Enable support for the SHA-1 hash by forwarding the feature to dependencies.
sha1 = ["gix-ref/sha1"]
## Enable support for the SHA-256 hash by forwarding the feature to dependencies.
sha256 = ["gix-ref/sha256"]
[dependencies]
gix-sec = { version = "^0.14.1", path = "../gix-sec" }
gix-path = { version = "^0.12.1", path = "../gix-path" }
gix-ref = { version = "^0.64.0", path = "../gix-ref" }
gix-fs = { version = "^0.21.2", path = "../gix-fs" }
bstr = { version = "1.12.0", default-features = false, features = ["std", "unicode"] }
thiserror = "2.0.18"
[target.'cfg(windows)'.dependencies]
dunce = "1.0.3"
[dev-dependencies]
gix-testtools = { path = "../tests/tools" }
serial_test = { version = "3.4.0", default-features = false }
is_ci = "1.1.1"
[target.'cfg(target_os = "macos")'.dev-dependencies]
defer = "0.2.1"
[target.'cfg(any(unix, windows))'.dev-dependencies]
tempfile = "3.26.0"
[package.metadata.docs.rs]
features = ["sha1"]