diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..f99afcd --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,16 @@ +[package] +name = "pwnWriter" +version = "0.1.1" +edition = "2021" + +[dependencies] +tokio = { version = "1", features = ["full"] } +mongodb = "3.2.3" +serde = { version = "1.0", features = ["derive"] } +config = "0.13" +anyhow = "1.0" +futures = "0.3" +toml = "0.5.11" +dirs = "4.0" + + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..d09cf93 --- /dev/null +++ b/config.toml @@ -0,0 +1,6 @@ +[mongodb] +uri = "mongodb://localhost:27017" +database = "txtlog" +full_collection = "full_collection" +partial_collection = "partial_collection" +batch_size = 5000