gossip/gossip-lib/Cargo.toml

84 lines
2.4 KiB
TOML
Raw Normal View History

[package]
name = "gossip-lib"
version = "0.12.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 = [
"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"
]
2024-03-17 23:31:48 +00:00
# Make tweaks for AppImage
appimage = []
[dependencies]
base64 = "0.22"
bech32 = "0.11"
2024-08-10 20:12:07 +00:00
dashmap = "6.0"
dirs = "5.0"
encoding_rs = "0.8"
filetime = "0.2"
futures = "0.3"
futures-util = "0.3"
heed = { version = "0.20", features = [ "read-txn-no-tls" ] }
hex = "0.4"
2024-08-10 20:17:54 +00:00
http = "1.1"
2024-08-10 20:25:23 +00:00
image = { version = "0.25", features = [ "png", "jpeg" ] }
kamadak-exif = "0.5"
2024-08-10 20:26:47 +00:00
lazy_static = "1.5"
linkify = "0.10"
mime = "0.3"
2024-08-06 20:04:15 +00:00
nostr-types = { git = "https://github.com/mikedilger/nostr-types", rev = "92b70b83acc7699c687df4b4975c8c281e218512", features = [ "speedy" ] }
parking_lot = "0.12"
paste = "1.0"
rand = "0.8"
regex = "1.10"
2024-08-10 20:28:05 +00:00
reqwest = { version = "0.12", default-features=false, features = ["brotli", "deflate", "gzip", "json"] }
resvg = "0.43"
2024-08-10 20:33:56 +00:00
rhai = { version = "1.19", features = [ "std", "sync" ]}
2024-08-10 20:42:15 +00:00
sdl2 = { version = "0.37", features = ["bundled"], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.10"
speedy = "0.8.7"
2024-08-08 19:46:40 +00:00
tempdir = "0.3"
2024-01-24 20:18:15 +00:00
textnonce = "1"
tiny-skia = "0.11"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
2024-08-10 20:47:09 +00:00
tokio-tungstenite = { version = "0.23", default-features = false, features = [ "connect", "handshake" ] }
tungstenite = { version = "0.23", default-features = false }
url = "2.5"
usvg = "0.43"
2024-08-10 20:47:59 +00:00
zeroize = "1.8"
[target.'cfg(windows)'.dependencies]
normpath = "1.1"