feat: cargo build files and expected dependencies

This commit is contained in:
Greg Heartsfield 2021-12-05 08:42:28 -06:00
commit d0c2b242cd
5 changed files with 1092 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/target

1066
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

21
Cargo.toml Normal file
View File

@ -0,0 +1,21 @@
[package]
name = "nostr-rs-relay"
version = "0.1.0"
edition = "2021"
[dependencies]
log = "0.4.14"
env_logger = "0.9.0"
tokio = { version = "1.14.0", features = ["full"] }
futures = "0.3.18"
futures-util = "0.3.18"
tokio-tungstenite = "0.16.0"
tungstenite = "0.16.0"
thiserror = "1.0.30"
uuid = { version = "0.8", features = ["v4"] }
bitcoin_hashes = { version = "0.9.7", features = ["serde"] }
secp256k1 = { version = "0.20.3", features = ["rand", "rand-std", "serde", "bitcoin_hashes"] }
serde = { version = "1.0.130", features = ["derive"] }
serde_json = "1.0.72"
rusqlite = "0.26.1"

1
rustfmt.toml Normal file
View File

@ -0,0 +1 @@
edition = "2018"

3
src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}