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
40 lines (33 loc) · 1.24 KB
/
Cargo.toml
File metadata and controls
40 lines (33 loc) · 1.24 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
lints.workspace = true
[package]
name = "gix-date"
version = "0.15.1"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
description = "A crate of the gitoxide project parsing dates the way git does"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
include = ["src/**/*", "LICENSE-*"]
rust-version = "1.82"
[lib]
doctest = true
[features]
## Data structures implement `serde::Serialize` and `serde::Deserialize`.
serde = ["dep:serde", "bstr/serde"]
[dependencies]
gix-error = { version = "^0.2.1", path = "../gix-error" }
bstr = { version = "1.12.0", default-features = false, features = ["std"] }
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
itoa = "1.0.17"
jiff = "0.2.21"
# TODO: used for quick and easy `TimeBacking: std::io::Write` implementation, but could make that `Copy`
# and remove this dep with custom impl
smallvec = { version = "1.15.1", features = ["write"] }
document-features = { version = "0.2.0", optional = true }
[dev-dependencies]
gix-hash = { path = "../gix-hash" }
gix-testtools = { path = "../tests/tools" }
pretty_assertions = "1.4.1"
[package.metadata.docs.rs]
all-features = true
features = ["document-features"]