-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
48 lines (41 loc) · 1.31 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "isbot"
version = "0.1.4"
edition = "2021"
authors = ["Bryan Morgan <bryan@thinkware.io>"]
description = "Detect if a user-agent is a known bot"
documentation = "https://docs.rs/isbot"
repository = "https://github.com/BryanMorgan/isbot"
license = "MIT"
keywords = ["isbot", "bot", "crawler", "user-agent", "browser"]
categories = ["parsing", "web-programming", "web-programming::http-server"]
exclude = ["/src/bin"]
readme = "README.md"
[features]
default = ["include-default-bots"]
include-default-bots = []
download-fixture-data = ["serde", "serde_json", "yaml-rust", "ureq"]
[dependencies]
regex = "1.5.6"
# Optional dependencies only needed to build the download_fixture_data binary
serde = {version = "1.0.137", features = ["derive"], optional = true}
serde_json = {version = "1.0.81", optional = true}
yaml-rust = {version = "0.4", optional = true}
ureq = { version = "2.4.0", features = ["json"], optional = true}
[dev-dependencies]
actix-web = "4.1.0"
actix-rt = "2.7.0"
rocket = "0.5.0-rc.2"
futures = "0.3"
serde_json = "1.0.81"
bytes = "1.1.0"
criterion = {version = "0.3", features = ["html_reports"]}
[lib]
bench = false
[[bin]]
name = "download_fixture_data"
path = "src/bin/download_fixture_data.rs"
required-features = ["download-fixture-data"]
[[bench]]
name = "regex_benchmarks"
harness = false