lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README | LICENSE

Cargo.toml (969B)


      1 [package]
      2 name = "radroots_nostr_runtime"
      3 publish = false
      4 version = "0.1.0-alpha.2"
      5 edition.workspace = true
      6 authors = ["Tyson Lupul <tyson@radroots.org>"]
      7 rust-version.workspace = true
      8 license.workspace = true
      9 description = "Nostr runtime coordination, subscriptions, and snapshots"
     10 repository.workspace = true
     11 homepage.workspace = true
     12 documentation = "https://docs.rs/radroots_nostr_runtime"
     13 readme = "README"
     14 
     15 [features]
     16 default = ["std", "nostr-client", "rt"]
     17 std = []
     18 rt = ["std", "dep:futures", "dep:tokio"]
     19 nostr-client = ["std", "dep:radroots_nostr"]
     20 nostr-ndb = ["nostr-client"]
     21 
     22 [dependencies]
     23 radroots_nostr = { workspace = true, optional = true, default-features = true, features = [
     24   "client",
     25 ] }
     26 futures = { workspace = true, optional = true }
     27 thiserror = { workspace = true }
     28 tokio = { workspace = true, optional = true, features = ["rt", "sync", "time"] }
     29 
     30 [dev-dependencies]
     31 tokio = { workspace = true, features = ["macros", "rt", "sync", "time"] }