File: Cargo.toml

package info (click to toggle)
rust-git2 0.20.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,388 kB
  • sloc: sh: 35; makefile: 6
file content (159 lines) | stat: -rw-r--r-- 2,985 bytes parent folder | download
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# 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 = "2018"
name = "git2"
version = "0.20.4"
authors = [
    "Josh Triplett <josh@joshtriplett.org>",
    "Alex Crichton <alex@alexcrichton.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Bindings to libgit2 for interoperating with git repositories. This library is
both threadsafe and memory safe and allows both reading and writing git
repositories.
"""
documentation = "https://docs.rs/git2"
readme = "README.md"
keywords = ["git"]
categories = ["api-bindings"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/git2-rs"

[features]
default = [
    "ssh",
    "https",
]
https = [
    "libgit2-sys/https",
    "openssl-sys",
    "openssl-probe",
]
ssh = ["libgit2-sys/ssh"]
unstable = []

[lib]
name = "git2"
path = "src/lib.rs"

[[example]]
name = "add"
path = "examples/add.rs"

[[example]]
name = "blame"
path = "examples/blame.rs"

[[example]]
name = "cat-file"
path = "examples/cat-file.rs"

[[example]]
name = "clone"
path = "examples/clone.rs"

[[example]]
name = "diff"
path = "examples/diff.rs"

[[example]]
name = "fetch"
path = "examples/fetch.rs"

[[example]]
name = "init"
path = "examples/init.rs"

[[example]]
name = "log"
path = "examples/log.rs"

[[example]]
name = "ls-remote"
path = "examples/ls-remote.rs"

[[example]]
name = "pull"
path = "examples/pull.rs"

[[example]]
name = "rev-list"
path = "examples/rev-list.rs"

[[example]]
name = "rev-parse"
path = "examples/rev-parse.rs"

[[example]]
name = "status"
path = "examples/status.rs"

[[example]]
name = "tag"
path = "examples/tag.rs"

[[test]]
name = "add_extensions"
path = "tests/add_extensions.rs"

[[test]]
name = "get_extensions"
path = "tests/get_extensions.rs"

[[test]]
name = "global_state"
path = "tests/global_state.rs"

[[test]]
name = "remove_extensions"
path = "tests/remove_extensions.rs"

[dependencies.bitflags]
version = "2.1.0"

[dependencies.libc]
version = "0.2"

[dependencies.libgit2-sys]
version = "0.18.3"

[dependencies.log]
version = "0.4.8"

[dependencies.url]
version = "2.5.2"

[dev-dependencies.clap]
version = "4.4.13"
features = ["derive"]

[dev-dependencies.tempfile]
version = "3.1.0"

[dev-dependencies.time]
version = "0.3.37"
features = ["formatting"]

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.openssl-probe]
version = "0.1"
optional = true

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.openssl-sys]
version = "0.9.45"
optional = true