[package]
name = "rune-modules"
version = "0.14.0"
authors = ["John-John Tedro <udoprog@tedro.se>"]
edition = "2021"
rust-version = "1.81"
description = "Native modules for Rune, an embeddable dynamic programming language for Rust."
documentation = "https://docs.rs/rune"
readme = "README.md"
homepage = "https://github.com/rune-rs/rune"
repository = "https://github.com/rune-rs/rune"
license = "MIT OR Apache-2.0"
keywords = ["language", "scripting", "scripting-language"]
categories = ["parser-implementations"]

[features]
default = ["test", "core", "io", "fmt"]
full = [
    "time",
    "http",
    "json",
    "toml",
    "fs",
    "process",
    "signal",
    "rand",
    "io",
    "fmt",
    "base64",
]
time = ["tokio", "tokio?/time"]
fs = ["tokio", "tokio?/fs"]
http = ["reqwest"]
json = ["serde_json"]
process = ["tokio/process", "rune/std"]
signal = ["tokio/signal"]
rand = ["nanorand"]
test = []
core = []
io = []
fmt = []
macros = []

[dependencies]
base64 = { version = "0.22.0", optional = true }
reqwest = { version = "0.12.8", optional = true, default-features = false, features = [
    "rustls-tls",
    "gzip",
    "json",
] }
tokio = { version = "1.28.1", optional = true }
serde_json = { version = "1.0.96", optional = true }
toml = { version = "0.8.19", optional = true }
nanorand = { version = "0.7.0", optional = true, features = ["getrandom"] }

rune = { version = "0.14.0", path = "../rune" }

[package.metadata.docs.rs]
all-features = true
