[package] name = "gossip-lib" version = "0.10.0-unstable" description = "A social media client for nostr" authors = ["Mike Dilger ", "fiatjaf ", "Nate Levin ", "Nethanja Focking ", "Daniele Tonon ", "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" ] [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" gossip-relay-picker = { git = "https://github.com/mikedilger/gossip-relay-picker", rev = "32b9022641d0f5e17b81868fbd85821bd2f5aa4e" } heed = { git = "https://github.com/meilisearch/heed", rev = "64fd6fec293c0dee94855b8267557ce03e7ce5d8" } hex = "0.4" http = "1.0" image = { version = "0.24.6", features = [ "png", "jpeg" ] } kamadak-exif = "0.5" lazy_static = "1.4" linkify = "0.9" mime = "0.3" nostr-types = { git = "https://github.com/mikedilger/nostr-types", rev = "597200eabe877ad0cbd84c85abb57a45ac075b5b", features = [ "speedy" ] } 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" ]} sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2", rev = "f2f1e29a416bcc22f2faf411866db2c8d9536308", features = ["bundled"], optional = true } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" sha2 = "0.10" speedy = { git = "https://github.com/mikedilger/speedy", rev = "b8b713a7006958616dd3ef3ba63217740b4b09c2" } textnonce = "1" tiny-skia = "0.10.0" tokio = { version = "1", features = ["full"] } tracing = "0.1" tokio-tungstenite = { version = "0.21", default-features = false, features = [ "connect", "handshake" ] } tungstenite = { version = "0.21", default-features = false } url = "2.4" usvg = "0.35.0" zeroize = "1.6" [target.'cfg(windows)'.dependencies] normpath = "1.1"