-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
33 lines (26 loc) · 764 Bytes
/
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
[package]
edition = "2021"
name = "napi-rs_simple-git"
version = "0.0.0"
[lib]
crate-type = ["cdylib"]
[dependencies]
chrono = "0.4"
git2 = { version = "0.19", features = ["default", "vendored-libgit2", "vendored-openssl"] }
libgit2-sys = { version = "*", features = ["ssh", "https", "ssh_key_from_memory", "vendored", "vendored-openssl"] }
home = "0.5"
once_cell = "1"
[dependencies.napi]
version = "2"
default-features = false
features = ["async", "chrono_date", "napi6"]
[dependencies.napi-derive]
version = "2"
[target.'cfg(all(target_os = "linux", target_env = "gnu", any(target_arch = "x86_64", target_arch = "aarch64")))'.dependencies]
dirs = "5"
[build-dependencies]
napi-build = "2"
[profile.release]
lto = true
codegen-units = 1
strip = "symbols"