Cargo.toml:Cargo.lock:cargo.mk

This commit is contained in:
randymcmillan 2023-10-03 13:23:39 -04:00
parent b100a4510c
commit 16a6b111d3
No known key found for this signature in database
GPG Key ID: 85495A938B7F78DF
3 changed files with 42 additions and 8 deletions

2
Cargo.lock generated
View File

@ -1129,7 +1129,7 @@ dependencies = [
[[package]]
name = "gnostr-relay"
version = "0.8.13"
version = "0.0.0"
dependencies = [
"anyhow",
"async-std",

View File

@ -1,15 +1,15 @@
[package]
name = "gnostr-relay"
version = "0.8.13"
version = "0.0.0"
edition = "2021"
authors = ["Greg Heartsfield <scsibug@imap.cc>"]
description = "A relay implementation for the Nostr protocol"
authors = ["Greg Heartsfield <scsibug@imap.cc>", "gnostr <admin@gnostr.org>"]
description = "gnostr:git+nostr protocol relay"
readme = "README.md"
homepage = "https://sr.ht/~gheartsfield/nostr-rs-relay/"
repository = "https://git.sr.ht/~gheartsfield/nostr-rs-relay"
homepage = "https://gnostr.org"
repository = "git@github.com:gnostr-org/gnostr-relay.git"
license = "MIT"
keywords = ["nostr", "server"]
categories = ["network-programming", "web-programming"]
keywords = ["nostr", "server", "gnostr", "git"]
categories = ["network-programming", "web-programming", "git", "gnostr"]
[dependencies]
clap = { version = "4.0.32", features = ["env", "default", "derive"]}

34
cargo.mk Executable file
View File

@ -0,0 +1,34 @@
##
##make cargo-*
cargo-help:### cargo-help
@awk 'BEGIN {FS = ":.*?### "} /^[a-zA-Z_-]+:.*?### / {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
cargo-b:cargo-build### cargo b
cargo-build:### cargo build
## make cargo-build q=true
@. $(HOME)/.cargo/env
@RUST_BACKTRACE=all cargo b $(QUIET)
cargo-install:### cargo install --path .
#@. $(HOME)/.cargo/env
@cargo install --path $(PWD)
#@cargo install --locked --path $(PWD)
cargo-br:cargo-build-release### cargo-br
## make cargo-br q=true
cargo-build-release:### cargo-build-release
## make cargo-build-release q=true
@. $(HOME)/.cargo/env
@cargo b --release $(QUIET)
cargo-check:### cargo-check
@. $(HOME)/.cargo/env
@cargo c
cargo-bench:### cargo-bench
@. $(HOME)/.cargo/env
@cargo bench
cargo-test:### cargo-test
@. $(HOME)/.cargo/env
@cargo test
cargo-report:### cargo-report
@. $(HOME)/.cargo/env
cargo report future-incompatibilities --id 1
# vim: set noexpandtab:
# vim: set setfiletype make