Skip to content

Commit 06059d5

Browse files
Structure and setup project
Add LICENSE, create Cargo.toml file, create README and re-structure the directory structure of the project.
1 parent b651bbb commit 06059d5

File tree

8 files changed

+58
-0
lines changed

8 files changed

+58
-0
lines changed

.gitignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Generated by Cargo
2+
# will have compiled files and executables
3+
debug/
4+
target/
5+
6+
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
7+
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
8+
Cargo.lock
9+
10+
# These are backup files generated by rustfmt
11+
**/*.rs.bk
12+
13+
# MSVC Windows builds of rustc generate these, which store debugging information
14+
*.pdb

Cargo.toml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[package]
2+
name = "esplora-client"
3+
version = "0.0.1"
4+
authors = ["Alekos Filini <[email protected]>"]
5+
license = "MIT"
6+
homepage = "https://github.com/bitcoindevkit/rust-esplora-client"
7+
repository = "https://github.com/bitcoindevkit/rust-esplora-client"
8+
documentation = "https://docs.rs/esplora-client/"
9+
description = "Bitcoin Esplora API client library. Supports plaintext, TLS and Onion servers. Blocking or async"
10+
keywords = ["bitcoin", "esplora"]
11+
readme = "README.md"
12+
13+
[lib]
14+
name = "esplora_client"
15+
path = "src/lib.rs"
16+
17+
[dependencies]
18+
19+
20+
[features]

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Magical Bitcoin
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# rust-esplora-client
2+
3+
Bitcoin Esplora API client library. Supports plaintext, TLS and Onion servers. Blocking or async
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)