[package]
edition = "2024"
name = "browser-info"
version = "1.0.2"
authors = ["Katy / frkavka"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform(planned) library retrieving active browser URL and detailed information"
homepage = "https://github.com/frkavka/browser-info"
documentation = "https://docs.rs/browser-info"
readme = "README.md"
keywords = [
"browser",
"url",
"automation",
"window",
"cross-platform",
]
categories = [
"os",
"api-bindings",
"development-tools",
]
license = "MIT"
repository = "https://github.com/frkavka/browser-info"
[features]
default = ["devtools"]
devtools = [
"reqwest",
"tokio",
]
[lib]
name = "browser_info"
path = "src/lib.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[bench]]
name = "performance"
path = "benches/performance.rs"
harness = false
[dependencies.active-win-pos-rs]
version = "0.9"
[dependencies.reqwest]
version = "0.11"
features = ["json"]
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.0"
features = ["full"]
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.tokio]
version = "1.0"
features = [
"rt",
"rt-multi-thread",
"macros",
]
[target.'cfg(target_os = "linux")'.dependencies]
[target.'cfg(target_os = "macos")'.dependencies.cocoa]
version = "0.25"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"
[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
version = "0.23"
[target.'cfg(target_os = "macos")'.dependencies.objc]
version = "0.2"
[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
"winuser",
"processthreadsapi",
"psapi",
"impl-default",
]