33 lines
741 B
TOML
33 lines
741 B
TOML
|
[package]
|
||
|
name = "yapilt"
|
||
|
version = "0.1.0"
|
||
|
authors = ["Jan Christian Grünhage <jan.christian@gruenhage.xyz>"]
|
||
|
edition = "2018"
|
||
|
|
||
|
description = "Yet another public IP lookup tool - Get your public IP"
|
||
|
|
||
|
[[bin]]
|
||
|
name = "yapilt4"
|
||
|
path = "src/bin/yapilt4.rs"
|
||
|
required-features = ["reqwest-client", "tokio-threaded"]
|
||
|
|
||
|
[[bin]]
|
||
|
name = "yapilt6"
|
||
|
path = "src/bin/yapilt6.rs"
|
||
|
required-features = ["reqwest-client", "tokio-threaded"]
|
||
|
|
||
|
[features]
|
||
|
reqwest-client = ["reqwest"]
|
||
|
tokio-threaded = ["tokio"]
|
||
|
default = ["reqwest-client"]
|
||
|
|
||
|
[dependencies]
|
||
|
http = "0.2.1"
|
||
|
log = "0.4.8"
|
||
|
reqwest = { version = "0.10.4", optional = true }
|
||
|
tokio = { version = "0.2.18", features = ["rt-threaded", "macros"], optional = true }
|
||
|
|
||
|
|
||
|
[dev-dependencies]
|
||
|
reqwest = "0.10.4"
|