lib

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

Cargo.toml (1150B)


      1 [package]
      2 name = "radroots_event_store"
      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 = "SQLx-backed canonical Nostr event store substrate"
     10 repository.workspace = true
     11 homepage.workspace = true
     12 documentation = "https://docs.rs/radroots_event_store"
     13 readme = "README"
     14 
     15 [features]
     16 default = ["sqlite", "runtime-tokio"]
     17 sqlite = ["dep:sqlx", "sqlx/sqlite"]
     18 runtime-tokio = ["sqlx/runtime-tokio"]
     19 
     20 [dependencies]
     21 radroots_events = { workspace = true, default-features = false, features = [
     22   "std",
     23   "serde",
     24 ] }
     25 radroots_nostr = { workspace = true, default-features = false, features = [
     26   "std",
     27   "events",
     28 ] }
     29 serde = { workspace = true, features = ["std"] }
     30 serde_json = { workspace = true, features = ["std"] }
     31 sqlx = { workspace = true, optional = true, features = ["derive"] }
     32 thiserror = { workspace = true }
     33 
     34 [dev-dependencies]
     35 tempfile = { workspace = true }
     36 tokio = { workspace = true, features = ["macros", "rt"] }
     37 
     38 [lints.rust]
     39 unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }