upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 71de4139e424a24a5bd0e8a57dcc1ec0db2c7998 (plain)
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
[package]
name = "ngit"
version = "2.1.0"
edition = "2021"
description = "nostr plugin for git"
authors = ["DanConwayDev <DanConwayDev@protonmail.com>"]
readme = "README.md"
homepage = "https://gitworkshop.dev/dan@gitworkshop.dev/ngit"
repository = "https://codeberg.org/DanConwayDev/ngit-cli"
license = "MIT"
keywords = ["nostr", "git"]
categories = ["command-line-utilities","development-tools"]

[dependencies]
anyhow = "1.0.98"
async-trait = "0.1.88"
auth-git2 = "0.5.8"
chacha20poly1305 = "0.10.1"
chrono = "0.4"
clap = { version = "4.5.41", features = ["derive"] }
console = "0.16.0"
dialoguer = "0.12.0"
directories = "6.0.0"
futures = "0.3.31"
git2 = "0.20.2"
indicatif = "0.18.0"
nostr = { version = "0.44.1", features = ["nip49"] }
nostr-connect = "0.44.0"
nostr-database = "0.44.0"
nostr-lmdb = "0.44.0"
nostr-relay-pool = "0.44.0"
nostr-sdk = "0.44.1"
passwords = "3.1.16"
qrcode = { version = "0.14.1", default-features = false }
reqwest = { version = "0.12.22", features = ["json"] }
scrypt = "0.11.0"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
serde_yaml = "0.9.34"
tokio = { version = "1.46.1", features = ["full"] }
urlencoding = "2.1.3"
zeroize = "1.8.1"

[dev-dependencies]
assert_cmd = "2.0.17"
mockall = "0.13.1"
once_cell = "1.21.3"
rstest = "0.23"
serial_test = "3.2.0"
test_utils = { path = "test_utils" }

[workspace]
members = [
    "test_utils",
]

[lib]
name = "ngit"
path = "src/lib/mod.rs"

[features]
default = []
vendored-openssl = ["git2/vendored-openssl"]

[[bin]]
name = "ngit"
path = "src/bin/ngit/main.rs"

[[bin]]
name = "git-remote-nostr"
path = "src/bin/git_remote_nostr/main.rs"

[profile.release]
lto = true
strip = "symbols"