lib

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

Cargo.toml (1650B)


      1 [package]
      2 name = "radroots"
      3 description = "Curated ordinary-user Rust facade for Radroots"
      4 version = "0.1.0-alpha"
      5 edition.workspace = true
      6 rust-version.workspace = true
      7 license.workspace = true
      8 repository.workspace = true
      9 homepage.workspace = true
     10 authors.workspace = true
     11 readme = "README.md"
     12 documentation = "https://docs.rs/radroots"
     13 keywords = ["radroots", "local-food", "sdk", "nostr"]
     14 categories = ["api-bindings", "asynchronous", "network-programming"]
     15 include = [
     16   "src/**",
     17   "tests/**",
     18   "!tests/package_boundary.rs",
     19   "examples/**",
     20   "Cargo.toml",
     21   "README.md",
     22   "LICENSE-APACHE",
     23   "LICENSE-MIT",
     24 ]
     25 publish = ["crates-io"]
     26 autoexamples = false
     27 
     28 [package.metadata.docs.rs]
     29 features = ["client", "blossom", "nostr", "nip46", "geonames", "knowledge"]
     30 
     31 [lints]
     32 workspace = true
     33 
     34 [lib]
     35 name = "radroots"
     36 path = "src/lib.rs"
     37 
     38 [dependencies]
     39 radroots_core = { workspace = true }
     40 radroots_event = { workspace = true }
     41 radroots_identity = { workspace = true, features = ["std"] }
     42 radroots_sdk = { workspace = true }
     43 radroots_trade = { workspace = true, features = ["json", "std"] }
     44 radroots_transport = { workspace = true }
     45 
     46 [features]
     47 default = ["client"]
     48 client = ["radroots_sdk/default"]
     49 native = ["client", "radroots_sdk/native"]
     50 nostr = ["client", "radroots_sdk/nostr"]
     51 blossom = ["client", "radroots_sdk/blossom"]
     52 nip46 = ["nostr", "radroots_sdk/nip46"]
     53 radrootsd = ["client", "radroots_sdk/radrootsd"]
     54 geonames = ["client", "radroots_sdk/geonames"]
     55 knowledge = ["client", "radroots_sdk/knowledge"]
     56 full = ["radroots_sdk/full"]
     57 
     58 [[example]]
     59 name = "ordinary_memory"
     60 path = "examples/ordinary_memory.rs"
     61 required-features = ["client"]