# Copyright 2018-2026 the Deno authors. MIT license.

[package]
name = "deno_permissions"
version = "0.116.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Provides the deno permissions implementation."

[lib]
name = "deno_permissions"
path = "lib.rs"

[dependencies]
capacity_builder.workspace = true
chrono = { workspace = true, features = ["now"] }
deno_error.workspace = true
deno_path_util.workspace = true
deno_terminal.workspace = true
deno_unsync.workspace = true
fqdn.workspace = true
ipnet.workspace = true
libc.workspace = true
log.workspace = true
once_cell.workspace = true
parking_lot.workspace = true
serde.workspace = true
serde_json.workspace = true
sys_traits.workspace = true
thiserror.workspace = true
url.workspace = true
which.workspace = true

[target.'cfg(target_os = "macos")'.dependencies]
unicode-normalization = { workspace = true }

[target.'cfg(windows)'.dependencies]
dunce.workspace = true
windows-sys = { workspace = true, features = ["Win32_Foundation", "Win32_Storage_FileSystem", "Win32_System_Console", "Win32_UI_Input_KeyboardAndMouse"] }

[target.'cfg(unix)'.dependencies]
nix = { workspace = true, features = ["fs"] }

[dev-dependencies]
proptest = { workspace = true }
sys_traits = { workspace = true, features = ["libc", "real", "winapi"] }
