This is an initial implementation of note multicast, which sends posted notes to other notedecks on the same network. This came about after I nerd sniped myself thinking about p2p nostr on local networks[1] You can test this exclusively without joining any other relays by passing -r multicast on the command line. [1] https://damus.io/note1j50pseqwma38g3aqrsnhvld0m0ysdgppw6fjnvvcj0haeulgswgq80lpca Signed-off-by: William Casarin <jb55@jb55.com>
22 lines
643 B
TOML
22 lines
643 B
TOML
[package]
|
|
name = "enostr"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
ewebsock = { version = "0.8.0", features = ["tls"] }
|
|
serde_derive = "1"
|
|
serde = { version = "1", features = ["derive"] } # You only need this if you want app persistence
|
|
serde_json = { workspace = true }
|
|
nostr = { workspace = true }
|
|
bech32 = { workspace = true }
|
|
nostrdb = { workspace = true }
|
|
hex = { workspace = true }
|
|
tracing = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
url = { workspace = true }
|
|
mio = { workspace = true }
|
|
tokio = { workspace = true }
|