rivetkit-core 2.3.0-rc.12

Core runtime primitives for RivetKit actor hosts
# 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 = "rivetkit-core"
version = "2.3.0-rc.12"
authors = ["Rivet Gaming, LLC <developer@rivet.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core runtime primitives for RivetKit actor hosts"
homepage = "https://rivet.dev"
readme = false
license = "Apache-2.0"
repository = "https://github.com/rivet-dev/rivet"
resolver = "2"

[features]
default = ["native-runtime"]
native-runtime = [
    "dep:nix",
    "dep:reqwest",
    "rivet-envoy-client/native-transport",
]
sqlite = ["sqlite-local"]
sqlite-local = [
    "native-runtime",
    "dep:async-trait",
]
sqlite-remote = []
wasm-runtime = ["rivet-envoy-client/wasm-transport"]

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

[[example]]
name = "counter"
path = "examples/counter.rs"

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

[dependencies.anyhow]
version = "1.0.82"

[dependencies.async-trait]
version = "0.1"
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.ciborium]
version = "0.2"

[dependencies.depot-client-types]
version = "=2.3.0-rc.12"
package = "rivet-depot-client-types"

[dependencies.futures]
version = "0.3.30"

[dependencies.http]
version = "1.3.1"

[dependencies.nix]
version = "0.30"
features = [
    "fs",
    "user",
    "signal",
]
optional = true
default-features = false

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.12.22"
features = [
    "json",
    "rustls-tls-native-roots",
    "rustls-tls-webpki-roots",
]
optional = true
default-features = false

[dependencies.rivet-envoy-client]
version = "=2.3.0-rc.12"
default-features = false

[dependencies.rivet-error]
version = "=2.3.0-rc.12"

[dependencies.rivet-metrics]
version = "=2.3.0-rc.12"

[dependencies.rivetkit-actor-persist]
version = "=2.3.0-rc.12"

[dependencies.rivetkit-client-protocol]
version = "=2.3.0-rc.12"

[dependencies.rivetkit-inspector-protocol]
version = "=2.3.0-rc.12"

[dependencies.rivetkit-shared-types]
version = "=2.3.0-rc.12"

[dependencies.scc]
version = "3.6.12"

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

[dependencies.serde_bare]
version = "0.5.0"

[dependencies.serde_bytes]
version = "0.11.17"

[dependencies.serde_json]
version = "1.0.128"
features = ["raw_value"]

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2"

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1.40"

[dependencies.url]
version = "2.5.4"
features = ["serde"]

[dependencies.vbare]
version = "0.0.4"

[dev-dependencies.portpicker]
version = "0.1"

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

[dev-dependencies.tokio]
version = "1.44.0"
features = [
    "full",
    "tracing",
    "test-util",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "ansi",
    "fmt",
    "json",
    "env-filter",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.44.0"
features = [
    "full",
    "tracing",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid]
version = "1.11.0"
features = [
    "v4",
    "serde",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1.44.0"
features = [
    "macros",
    "rt",
    "sync",
    "time",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1.11.0"
features = [
    "v4",
    "serde",
    "js",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-time]
version = "1.1"