[package]
edition = "2024"
name = "id_effect_platform"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Platform capability traits (HTTP, FS, process) for id_effect — @effect/platform-style boundaries"
readme = "README.md"
keywords = [
"effect",
"async",
"http",
"filesystem",
"platform",
]
categories = [
"asynchronous",
"network-programming",
]
license = "CC-BY-SA-4.0"
repository = "https://github.com/Industrial/id_effect"
resolver = "2"
[lib]
name = "id_effect_platform"
path = "src/lib.rs"
[[example]]
name = "010_platform_http_get"
path = "examples/010_platform_http_get.rs"
[[example]]
name = "010_wiremock_get_text"
path = "examples/010_wiremock_get_text.rs"
[[example]]
name = "020_wiremock_json"
path = "examples/020_wiremock_json.rs"
[[example]]
name = "030_layer_default_env"
path = "examples/030_layer_default_env.rs"
[[test]]
name = "auth_oauth"
path = "tests/auth_oauth.rs"
[[test]]
name = "fs_layer_read"
path = "tests/fs_layer_read.rs"
[[test]]
name = "fs_test_double"
path = "tests/fs_test_double.rs"
[[test]]
name = "http_extra"
path = "tests/http_extra.rs"
[[test]]
name = "http_streaming"
path = "tests/http_streaming.rs"
[[test]]
name = "http_wiremock"
path = "tests/http_wiremock.rs"
[[test]]
name = "live_fs"
path = "tests/live_fs.rs"
[[test]]
name = "process_kill"
path = "tests/process_kill.rs"
[[test]]
name = "process_spawn"
path = "tests/process_spawn.rs"
[dependencies.bytes]
version = "1"
[dependencies.http]
version = "1"
[dependencies.id_effect]
version = "0.4.0"
features = ["schema-serde"]
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"gzip",
"rustls",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1.50.0"
features = [
"fs",
"io-util",
"macros",
"process",
"rt",
"sync",
]
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1.50.0"
features = [
"macros",
"rt-multi-thread",
]
[dev-dependencies.wiremock]
version = "0.6"
[lints.rust]
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]