Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (85 loc) · 2.75 KB
/
Copy pathCargo.toml
File metadata and controls
93 lines (85 loc) · 2.75 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
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
[package]
name = "gossip-lib"
version = "0.15.0-unstable"
description = "A social media client for nostr"
authors = ["Mike Dilger <mike@mikedilger.com>", "fiatjaf <fiatjaf@gmail.com>", "Nate Levin <natelevincycling@gmail.com>", "Nethanja Focking <nethanja@nethanja.de>", "Daniele Tonon <tonon@vitamino.it>", "jeremyd (@jeremyd)"]
license = "MIT"
repository = "https://github.com/mikedilger/gossip"
homepage = "https://github.com/mikedilger/gossip"
edition = "2021"
[features]
default = ["rustls-tls-native"]
# Include font for Chinese, Japanese and Korean characters
lang-cjk = []
# Use Native TLS code and native root certs
native-tls = [
"nostr-types/native-tls",
"reqwest/native-tls",
"tungstenite/native-tls",
"tokio-tungstenite/native-tls",
]
# Use Rust TLS code with WebPKI compiled-in root certs
rustls-tls = [
"nostr-types/rustls-tls",
"reqwest/rustls-tls-webpki-roots",
"tungstenite/rustls-tls-webpki-roots",
"tokio-tungstenite/rustls-tls-webpki-roots",
]
# Use Rust TLS code with native root certs
rustls-tls-native = [
"nostr-types/rustls-tls-native",
"reqwest/rustls-tls-native-roots",
"tungstenite/rustls-tls-native-roots",
"tokio-tungstenite/rustls-tls-native-roots",
]
# Make tweaks for AppImage
appimage = []
[dependencies]
base64 = "0.22"
bech32 = { workspace = true }
blurhash = { workspace = true }
core-net = "0.1"
dashmap = "6.0"
dirs = "5.0"
encoding_rs = "0.8"
filetime = "0.2"
futures = "0.3"
futures-util = "0.3"
heed = { version = "0.21", features = [ "read-txn-no-tls" ] }
hex = "0.4"
http = "1.1"
image = { workspace = true }
infer = "0.16"
kamadak-exif = "0.5"
lazy_static = { workspace = true }
linkify = "0.10"
memmap2 = "0.9"
mime = "0.3"
mime_guess = "2"
nostr-types = { workspace = true }
parking_lot = { version = "0.12", features = [ "arc_lock", "send_guard" ] }
paste = { workspace = true }
rand = "0.8"
regex = "1.10"
reqwest = { version = "0.12", default-features=false, features = ["brotli", "deflate", "gzip", "json", "stream"] }
resvg = "0.43"
rhai = { version = "1.19", features = [ "std", "sync" ]}
sdl2 = { version = "0.37", features = ["bundled"], optional = true }
serde = { workspace = true }
serde_json = { workspace = true }
sha2 = "0.10"
speedy = { workspace = true }
tempdir = "0.3"
textnonce = "1"
tiny-skia = "0.11"
tokio = { workspace = true }
tracing = { workspace = true }
tokio-tungstenite = { version = "0.23", default-features = false, features = [ "connect", "handshake" ] }
tungstenite = { version = "0.23", default-features = false }
url = { workspace = true }
usvg = "0.43"
watcher = { git = "https://github.com/mikedilger/watcher", rev = "a4e7e70c396bca4630aa0ba0a15d54ea103cb0e9" }
zeroize = { workspace = true }
identicon-rs = { version = "7.2", features = ["png"] }
[target.'cfg(windows)'.dependencies]
normpath = "1.1"