# 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 = "nostr-web" version = "0.1.0" authors = ["w3irdrobot "] description = "utilities for building web servers for nostr" homepage = "https://github.com/w3irdrobot/nostr-web" readme = "README.md" license = "CC0-1.0" repository = "https://github.com/w3irdrobot/nostr-web" [dependencies.actix-web] version = "4" optional = true [dependencies.async-trait] version = "0.1" optional = true [dependencies.axum] version = "0.6" optional = true [dependencies.axum-core] version = "0.3" optional = true [dependencies.base64] version = "0.21" [dependencies.futures] version = "0.3" optional = true [dependencies.nostr] version = "0.24" [dependencies.serde_json] version = "1.0" [dependencies.time] version = "0.3" [dependencies.url] version = "2.4" [features] actix = [ "actix-web", "futures", ] axum = [ "dep:axum", "axum-core", "async-trait", ] default = ["axum"]