-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (47 loc) · 1.26 KB
/
Copy pathCargo.toml
File metadata and controls
52 lines (47 loc) · 1.26 KB
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
49
50
51
52
[package]
name = "tor-controller"
# Version 0.1.1 - based on Tor Control Protocol v1 (from Tor 0.1.1.x era)
version = "0.1.1"
edition = "2021"
rust-version = "1.71"
authors = ["Josh"]
description = "A safe, practical, and robust Rust library for interfacing with the Tor Control Protocol"
license = "MIT OR Apache-2.0"
repository = "https://github.com/josh/tor-control-rs"
documentation = "https://docs.rs/tor-controller"
readme = "README.md"
keywords = ["tor", "control", "protocol", "privacy", "network"]
categories = ["network-programming", "api-bindings"]
[features]
default = ["tokio-runtime"]
tokio-runtime = [
"tokio",
"tokio/net",
"tokio/io-util",
"tokio/sync",
"tokio/time",
]
# Enable test utilities for downstream crates
test-utils = []
[dependencies]
thiserror = "2.0"
tracing = "0.1"
hex = "0.4"
rand = "0.9"
sha2 = "0.10"
hmac = "0.12"
base64 = "0.22"
# Async runtime (optional, default enabled)
tokio = { version = "1.0", features = [
"net",
"io-util",
"sync",
"time",
], optional = true }
[dev-dependencies]
tokio = { version = "1.0", features = ["full", "test-util"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
proptest = "1.5"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]