# 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"
name = "seq-runtime"
version = "5.6.1"
authors = ["Ed Sweeney <ed@onextent.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime library for the Seq programming language"
readme = "README.md"
keywords = [
    "runtime",
    "language",
    "seq",
]
categories = [
    "compilers",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/navicore/patch-seq"
resolver = "2"

[features]
compression = [
    "dep:flate2",
    "dep:zstd",
]
crypto = [
    "dep:sha2",
    "dep:hmac",
    "dep:rand",
    "dep:uuid",
    "dep:subtle",
    "dep:aes-gcm",
    "dep:pbkdf2",
    "dep:ed25519-dalek",
]
default = [
    "full",
    "diagnostics",
    "report-json",
]
diagnostics = ["signal-hook"]
full = [
    "crypto",
    "http",
    "regex",
    "compression",
]
http = [
    "dep:ureq",
    "dep:url",
]
regex = ["dep:regex"]
report-json = ["dep:serde_json"]

[lib]
name = "seq_runtime"
crate-type = [
    "staticlib",
    "rlib",
]
path = "src/lib.rs"

[[test]]
name = "test_closures"
path = "tests/test_closures.rs"

[[test]]
name = "test_thread_migration"
path = "tests/test_thread_migration.rs"

[dependencies.aes-gcm]
version = "0.10"
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.bincode]
version = "1.3"

[dependencies.ed25519-dalek]
version = "2.1"
features = ["rand_core"]
optional = true

[dependencies.flate2]
version = "1.0"
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.libc]
version = "0.2"

[dependencies.may]
version = "0.3"
features = ["rand_work_steal"]

[dependencies.pbkdf2]
version = "0.12"
optional = true

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

[dependencies.regex]
version = "1.11"
optional = true

[dependencies.seq-core]
version = "=5.6.1"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.subtle]
version = "2.6"
optional = true

[dependencies.ureq]
version = "2.12"
features = ["tls"]
optional = true

[dependencies.url]
version = "2.5"
optional = true

[dependencies.uuid]
version = "1.11"
features = ["v4"]
optional = true

[dependencies.zstd]
version = "0.13"
optional = true

[dev-dependencies.serial_test]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[target."cfg(unix)".dependencies.signal-hook]
version = "0.3"
optional = true
