Prepare for cargo publish
Diff
LICENSE | 1 +
LICENSE-0BSD | 5 +++++
LICENSE-WTFPL | 13 +++++++++++++
README.md | 13 +++++++++++++
stork/Cargo.toml | 12 ++++++++----
stork_http/Cargo.toml | 16 +++++++++++-----
stork_http/src/lib.rs | 2 +-
7 files changed, 48 insertions(+), 14 deletions(-)
@@ -1,0 +1,1 @@
WTFPL OR 0BSD
@@ -1,0 +1,5 @@
Copyright (C) 2020 by Jordan Doyle <jordan@doyle.la>
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -1,0 +1,13 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
@@ -1,2 +1,13 @@
# stork.rs
`stork` is a basic website scraper written in Rust.
[![License: WTFPL](https://img.shields.io/badge/License-WTFPL-brightgreen.svg?style=flat-square&logo=appveyor)](http://www.wtfpl.net/about/) ![https://docs.rs/stork/](https://docs.rs/stork/badge.svg) [![Downloads](https://img.shields.io/crates/d/stork.svg?style=flat-square&logo=appveyor)](https://crates.io/crates/stork)
`stork` is a simple futures-based library to recursively crawl
sources in a search engine-like fashion. stork was designed from the
ground to have a simple API that is easy to use and can be reused
across multiple protocols, yielding each result giving end users the
freedom to do BFS, DFS or any type of search they may so wish.
View the docs for examples of how to use `stork`:
- [stork](https://docs.rs/stork/)
- [stork_http](https://docs.rs/stork_http/)
@@ -1,17 +1,19 @@
[package]
name = "stork"
version = "0.0.1"
authors = ["Jordan Doyle <jordan@doyle.la>"]
description = "simple futures-based library to recursively crawl sources in a search engine-like fashion"
license = "WTFPL OR 0BSD"
edition = "2018"
[dependencies]
failure = ""
failure_derive = ""
failure = "0.1.6"
failure_derive = "0.1.6"
dyn-clone = ""
dyn-clone = "1.0.1"
futures = "0.3"
async-stream = ""
futures = "0.3.4"
async-stream = "0.2.1"
[dev-dependencies]
tokio = { version = "0.2", features = ["full"] }
@@ -1,21 +1,23 @@
[package]
name = "stork_http"
version = "0.0.1"
authors = ["Jordan Doyle <jordan@doyle.la>"]
description = "first-party stork implementation for HTML-based web scraping"
license = "WTFPL OR 0BSD"
edition = "2018"
[dependencies]
stork = { path = "../stork" }
stork = { path = "../stork", version = "0.0.1" }
select = ""
select = "0.4.3"
reqwest = { version = "0.10.1", features = ["gzip"] }
url = ""
url = "2.1.1"
failure = ""
failure_derive = ""
failure = "0.1.6"
failure_derive = "0.1.6"
futures = "0.3"
async-stream = ""
futures = "0.3.4"
async-stream = "0.2.1"
[dev-dependencies]
stork = { path = "../stork" }
@@ -1,5 +1,5 @@