Skip to content

Commit 0841a59

Browse files
committed
Organized files and moved cli to examples
1 parent 6c75605 commit 0841a59

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

Cargo.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
[package]
2+
description = "A bencode parser written in Rust with no dependencies"
3+
edition = "2021"
4+
exclude = ["*.torrent", "*.txt"]
5+
include = ["src/**/*", "LICENSE", "README.md"]
6+
keywords = ["bencode", "torrent"]
7+
license = "MIT"
28
name = "bencode_parser"
9+
readme = "README.md"
10+
repository = "https://github.com/Nemesis-AS/bencode-parser-rs"
311
version = "0.1.0"
4-
edition = "2021"
5-
612
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
713

814
[dependencies]
15+
# No Dependencies!
16+
17+
[dev-dependencies]
918
clap = { version = "4.0.7", features = ["derive"] }

src/main.rs renamed to examples/cli.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
mod bencode;
2-
3-
use bencode::BEncode;
1+
use bencode_parser::BEncode;
42
use clap::Parser;
53
use std::fs;
64
use std::io::Write;
File renamed without changes.

0 commit comments

Comments
 (0)