Skip to content

Commit

Permalink
cargo init
Browse files Browse the repository at this point in the history
  • Loading branch information
edouardparis committed Oct 15, 2019
1 parent 8cf60a4 commit fbe2bfc
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,12 @@ Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk


#Added by cargo
#
#already existing elements are commented out

/target
#**/*.rs.bk
#Cargo.lock
17 changes: 17 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "lnurl"
version = "0.1.0"
authors = ["Edouard Paris <[email protected]>"]
description = "Helpers for lnurl"
readme = "README.md"
edition = "2018"
license = "MIT"
repository = "https://github.com/edouardparis/rust-lnurl.git"
documentation = "https://docs.rs/lnurl/"

[lib]
name = "lnurl"

[dependencies]
serde = { version = "1.0.93", features =["derive"]}
serde_json = "1.0.39"
7 changes: 7 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}

0 comments on commit fbe2bfc

Please sign in to comment.