# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "prediction-market-event-nostr-client" version = "0.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "a basic nostr client for crate prediction-market-event" documentation = "https://docs.rs/prediction-market-event-nostr-client/latest/prediction_market_event-nostr-client/" readme = "README.md" keywords = [ "prediction", "market", "nostr", ] license = "MIT" repository = "https://github.com/Prediction-Market-Event/prediction-market-event-nostr-client" [lib] name = "prediction_market_event_nostr_client" path = "src/lib.rs" [[bin]] name = "prediction_market_event_cli" path = "src/cli/bin/main.rs" required-features = ["cli_bin"] [dependencies.anyhow] version = "1.0.89" [dependencies.chrono] version = "0.4.38" optional = true [dependencies.clap] version = "4.5.18" features = ["derive"] optional = true [dependencies.home] version = "0.5.9" optional = true [dependencies.nostr-sdk] version = "0.35.0" [dependencies.prediction-market-event] version = "0.14.0" [dependencies.serde] version = "1.0.210" optional = true [dependencies.serde_json] version = "1.0.128" optional = true [dependencies.sqlx] version = "0.8.2" features = [ "sqlite", "runtime-tokio", ] optional = true [dependencies.tokio] version = "1.40.0" optional = true [features] cli = [ "dep:clap", "dep:serde", "dep:serde_json", "dep:home", "dep:sqlx", "dep:chrono", ] cli_bin = [ "cli", "dep:tokio", ] default = []