# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "aver-rt"
version = "0.4.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared Rust runtime pieces for Aver-generated programs"
homepage = "https://github.com/jasisz/aver"
documentation = "https://docs.rs/aver-rt"
readme = "README.md"
keywords = [
    "aver",
    "runtime",
    "transpiler",
    "language",
    "codegen",
]
categories = ["compilers"]
license = "MIT"
repository = "https://github.com/jasisz/aver"

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

[features]
default = []
http = ["dep:ureq"]
random = ["dep:rand"]
terminal = ["dep:crossterm"]

[lib]
name = "aver_rt"
path = "src/lib.rs"

[dependencies.crossterm]
version = "0.28"
optional = true

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.ureq]
version = "2"
optional = true

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]
