[package]
edition = "2021"
name = "encore-dev"
version = "2.0.0-beta.13"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for Encore applications"
readme = false
license = "MPL-2.0"
repository = "https://github.com/encoredev/v2-encore"
[features]
aws = ["encore-sdk-core/aws"]
chromiumoxide = ["dep:chromiumoxide"]
default = ["local"]
gateway = [
"dep:encore-gateway",
"dep:encore-sdk-core-gateway",
"dep:async-trait",
"dep:encore-os",
]
gcp = ["encore-sdk-core/gcp"]
local = ["encore-sdk-core/local"]
protobuf = []
[lib]
name = "encore"
path = "src/lib.rs"
[[example]]
name = "hello"
path = "examples/hello/main.rs"
[[test]]
name = "clickhouse"
path = "tests/clickhouse.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "gateway"
path = "tests/gateway.rs"
[[test]]
name = "log_exit"
path = "tests/log_exit.rs"
[[test]]
name = "metrics"
path = "tests/metrics.rs"
[[test]]
name = "objects"
path = "tests/objects.rs"
[[test]]
name = "postgres"
path = "tests/postgres.rs"
[[test]]
name = "postgres_access"
path = "tests/postgres_access.rs"
[[test]]
name = "postgres_transactions"
path = "tests/postgres_transactions.rs"
[[test]]
name = "pubsub"
path = "tests/pubsub.rs"
[[test]]
name = "references"
path = "tests/references.rs"
[[test]]
name = "secrets"
path = "tests/secrets.rs"
[[test]]
name = "services"
path = "tests/services.rs"
[[test]]
name = "shutdown"
path = "tests/shutdown.rs"
[[test]]
name = "telemetry"
path = "tests/telemetry.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
optional = true
[dependencies.bytes]
version = "1"
[dependencies.chromiumoxide]
version = "0.9"
optional = true
[dependencies.chrono]
version = "0.4.31"
features = ["std"]
default-features = false
[dependencies.encore-gateway]
version = "=2.0.0-beta.13"
optional = true
[dependencies.encore-macros]
version = "=2.0.0-beta.13"
[dependencies.encore-os]
version = "=2.0.0-beta.13"
optional = true
[dependencies.encore-sdk-core]
version = "=2.0.0-beta.13"
features = ["test-orchestration"]
default-features = false
[dependencies.encore-sdk-core-gateway]
version = "=2.0.0-beta.13"
optional = true
default-features = false
[dependencies.encore-telemetry]
version = "=2.0.0-beta.13"
features = ["console-tracing"]
[dependencies.futures-core]
version = "0.3"
[dependencies.h2]
version = "0.4"
[dependencies.http]
version = "1"
[dependencies.http-body]
version = "1"
[dependencies.linkme]
version = "0.3"
[dependencies.log]
version = "0.4.20"
features = ["kv_serde"]
[dependencies.prost]
version = "0.14"
[dependencies.prost-types]
version = "0.14"
[dependencies.reqwest]
version = "0.12.4"
features = [
"charset",
"http2",
"json",
"macos-system-configuration",
"rustls-tls-native-roots",
"stream",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"sync",
"rt",
"rt-multi-thread",
"time",
]
[dependencies.tokio-postgres]
version = "=2.0.0-beta.13"
package = "encore-tokio-postgres"
[dependencies.tokio-util]
version = "0.7"
features = ["io"]
[dependencies.tonic]
version = "0.14"
features = [
"tls-ring",
"tls-native-roots",
]
[dependencies.tonic-prost]
version = "0.14"
[dependencies.tower-layer]
version = "0.3"
[dependencies.tower-service]
version = "0.3"
[dependencies.tracing]
version = "0.1"
features = [
"std",
"attributes",
]
default-features = false
[dependencies.tracing-log]
version = "0.2"
features = [
"std",
"log-tracer",
]
default-features = false
[dependencies.tracing-opentelemetry]
version = "0.34"
default-features = false
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"registry",
"std",
]
default-features = false
[dependencies.uuid]
version = "1.7.0"
[dev-dependencies.chrono]
version = "0.4.31"
features = [
"std",
"serde",
]
default-features = false
[dev-dependencies.encore-miniredis]
version = "=2.0.0-beta.13"
features = ["lua"]
[dev-dependencies.encore-runtimecfg]
version = "=2.0.0-beta.13"
[dev-dependencies.encore-sdk-core]
version = "=2.0.0-beta.13"
features = ["gcs"]
default-features = false
[dev-dependencies.encore-telemetry]
version = "=2.0.0-beta.13"
features = ["otlp"]
[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.uuid]
version = "1.7.0"
features = ["serde"]