[package]
edition = "2021"
name = "encore-dev"
version = "0.1.0"
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"]
gcp = ["encore-sdk-core/gcp"]
local = ["encore-sdk-core/local"]
protobuf = ["dep:prost"]
[lib]
name = "encore"
path = "src/lib.rs"
[[example]]
name = "hello"
path = "examples/hello/main.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "log_exit"
path = "tests/log_exit.rs"
[[test]]
name = "metrics"
path = "tests/metrics.rs"
[[test]]
name = "postgres"
path = "tests/postgres.rs"
[[test]]
name = "postgres_access"
path = "tests/postgres_access.rs"
[[test]]
name = "pubsub"
path = "tests/pubsub.rs"
[[test]]
name = "references"
path = "tests/references.rs"
[[test]]
name = "secrets"
path = "tests/secrets.rs"
[[test]]
name = "shutdown"
path = "tests/shutdown.rs"
[dependencies.anyhow]
version = "1"
[dependencies.bytes]
version = "1"
[dependencies.encore-macros]
version = "=0.1.0"
[dependencies.encore-sdk-core]
version = "0.1.0"
features = ["test-orchestration"]
default-features = false
[dependencies.encore-telemetry]
version = "0.1.0"
features = ["console"]
[dependencies.futures-core]
version = "0.3"
[dependencies.linkme]
version = "0.3"
[dependencies.log]
version = "0.4.20"
features = ["kv_serde"]
[dependencies.prost]
version = "0.13"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"sync",
"rt",
"rt-multi-thread",
]
[dependencies.tokio-postgres]
version = "0.7.13"
package = "encore-tokio-postgres"
[dependencies.tokio-util]
version = "0.7"
features = ["io"]
[dev-dependencies.encore-miniredis]
version = "0.1.0"
features = ["lua"]
[dev-dependencies.encore-runtimecfg]
version = "0.1.0"
[dev-dependencies.encore-telemetry]
version = "0.1.0"
features = ["otlp"]
[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tonic]
version = "0.12"