2023-10-03 20:42:53 +00:00
|
|
|
[package]
|
|
|
|
name = "gossip-lib"
|
2024-01-01 18:56:37 +00:00
|
|
|
version = "0.10.0-unstable"
|
2023-10-03 20:42:53 +00:00
|
|
|
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]
|
2023-11-30 20:54:13 +00:00
|
|
|
default = ["rustls-tls-native"]
|
|
|
|
|
|
|
|
# Include font for Chinese, Japanese and Korean characters
|
2023-10-03 20:42:53 +00:00
|
|
|
lang-cjk = []
|
|
|
|
|
2023-11-30 20:54:13 +00:00
|
|
|
# Use Native TLS code and native root certs
|
|
|
|
native-tls = [
|
|
|
|
"reqwest/native-tls",
|
|
|
|
"tungstenite/native-tls",
|
|
|
|
"tokio-tungstenite/native-tls"
|
|
|
|
]
|
|
|
|
|
|
|
|
# Use Rust TLS code with WebPKI compiled-in root certs
|
|
|
|
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 = [
|
|
|
|
"reqwest/rustls-tls-native-roots",
|
|
|
|
"tungstenite/rustls-tls-native-roots",
|
|
|
|
"tokio-tungstenite/rustls-tls-native-roots"
|
|
|
|
]
|
2023-10-03 20:42:53 +00:00
|
|
|
|
2024-03-17 23:31:48 +00:00
|
|
|
# Make tweaks for AppImage
|
|
|
|
appimage = []
|
|
|
|
|
2023-10-03 20:42:53 +00:00
|
|
|
[dependencies]
|
|
|
|
async-recursion = "1.0"
|
|
|
|
async-trait = "0.1"
|
|
|
|
base64 = "0.21"
|
|
|
|
bech32 = "0.9"
|
|
|
|
dashmap = "5.4"
|
|
|
|
dirs = "5.0"
|
|
|
|
encoding_rs = "0.8"
|
|
|
|
fallible-iterator = "0.2"
|
|
|
|
filetime = "0.2"
|
|
|
|
futures = "0.3"
|
|
|
|
futures-util = "0.3"
|
2024-03-28 20:58:58 +00:00
|
|
|
gossip-relay-picker = { git = "https://github.com/mikedilger/gossip-relay-picker", rev = "96680eb6cfd8ebda8e8fb3e69656a650d9ece850" }
|
2024-02-04 20:29:37 +00:00
|
|
|
heed = { git = "https://github.com/meilisearch/heed", rev = "64fd6fec293c0dee94855b8267557ce03e7ce5d8" }
|
2023-10-03 20:42:53 +00:00
|
|
|
hex = "0.4"
|
2024-02-06 22:58:22 +00:00
|
|
|
http = "1.0"
|
2023-10-03 20:42:53 +00:00
|
|
|
image = { version = "0.24.6", features = [ "png", "jpeg" ] }
|
|
|
|
kamadak-exif = "0.5"
|
|
|
|
lazy_static = "1.4"
|
|
|
|
linkify = "0.9"
|
|
|
|
mime = "0.3"
|
2024-03-28 20:58:58 +00:00
|
|
|
nostr-types = { git = "https://github.com/mikedilger/nostr-types", rev = "120c900b16a2f05182c7d716e78f44b081ef07da", features = [ "speedy" ] }
|
2023-10-03 20:42:53 +00:00
|
|
|
parking_lot = "0.12"
|
|
|
|
paste = "1.0"
|
|
|
|
rand = "0.8"
|
|
|
|
regex = "1.8"
|
|
|
|
reqwest = { version = "0.11", default-features=false, features = ["brotli", "deflate", "gzip", "json"] }
|
|
|
|
resvg = "0.35.0"
|
|
|
|
rhai = { version = "1.15", features = [ "std", "sync" ]}
|
2024-02-04 20:29:37 +00:00
|
|
|
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2", rev = "f2f1e29a416bcc22f2faf411866db2c8d9536308", features = ["bundled"], optional = true }
|
2023-10-03 20:42:53 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
|
|
|
sha2 = "0.10"
|
|
|
|
speedy = { git = "https://github.com/mikedilger/speedy", rev = "b8b713a7006958616dd3ef3ba63217740b4b09c2" }
|
2024-01-24 20:18:15 +00:00
|
|
|
textnonce = "1"
|
2023-10-03 20:42:53 +00:00
|
|
|
tiny-skia = "0.10.0"
|
|
|
|
tokio = { version = "1", features = ["full"] }
|
|
|
|
tracing = "0.1"
|
2024-02-06 22:58:22 +00:00
|
|
|
tokio-tungstenite = { version = "0.21", default-features = false, features = [ "connect", "handshake" ] }
|
|
|
|
tungstenite = { version = "0.21", default-features = false }
|
2023-10-03 20:42:53 +00:00
|
|
|
url = "2.4"
|
|
|
|
usvg = "0.35.0"
|
|
|
|
zeroize = "1.6"
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
|
|
normpath = "1.1"
|