-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
60 lines (52 loc) · 1.63 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
49
50
51
52
53
54
55
56
57
58
59
[package]
authors = ["MikhailMS <[email protected]>"]
categories = ["network-programming"]
description = "Pure Rust implementation of RADIUS Server/Client"
documentation = "https://docs.rs/radius-rust/0.4.4"
edition = "2018"
include = [
"Cargo.toml",
"LICENSE",
"README.md",
"CHANGELOG.md",
"dict_examples/*",
"examples/*",
"src/*",
"tests/*"
]
homepage = "https://github.com/MikhailMS/rust-radius"
keywords = ["radius", "radius-client", "radius-server"]
license = "MIT"
name = "radius-rust"
readme = "README.md"
repository = "https://github.com/MikhailMS/rust-radius"
version = "0.4.4"
[features]
# Default doesn\t include anythin - keep it simple
default = []
# In case one plans to create Async RADIUS Client/Server
async-radius = ["async-trait"]
# In case one plans to run Async examples
async-examples = [ "async-trait", "async-std", "futures" ]
[dependencies]
async-std = { version = "1.9.0", optional = true }
async-trait = { version = "0.1.48", optional = true }
futures = { version = "0.3.13", optional = true }
rand = "0.8.5"
md-5 = "0.10.1"
hmac = "0.12.1"
thiserror = "1.0.32"
[dev-dependencies]
mio = { version = "0.7.7", features = ["os-poll", "udp"] }
simple_logger = { version = "1.11.0", default-features = false }
log = "0.4.17"
[[example]]
name = "sync_radius_server"
[[example]]
name = "sync_radius_client"
[[example]]
name = "async_radius_server"
required-features = ["async-examples"]
[[example]]
name = "async_radius_client"
required-features = ["async-examples"]