[package]
edition = "2024"
rust-version = "1.85"
name = "repe"
version = "0.4.2"
build = false
exclude = ["Cargo.toml.orig"]
include = [
"Cargo.toml",
"README.md",
"LICENSE",
"src/**",
"examples/**",
"tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust implementation of the REPE RPC protocol (JSON-focused)"
documentation = "https://crates.io/crates/repe"
readme = "README.md"
keywords = [
"rpc",
"protocol",
"repe",
"json",
]
categories = [
"network-programming",
"encoding",
]
license = "MIT"
repository = "https://github.com/repe-org/repe-rs"
[features]
default = []
parking-lot = ["dep:parking_lot"]
[lib]
name = "repe"
path = "src/lib.rs"
[[example]]
name = "async_client"
path = "examples/async_client.rs"
[[example]]
name = "async_server"
path = "examples/async_server.rs"
[[example]]
name = "client"
path = "examples/client.rs"
[[example]]
name = "json_roundtrip"
path = "examples/json_roundtrip.rs"
[[example]]
name = "server"
path = "examples/server.rs"
[[test]]
name = "async_client_multiplexing"
path = "tests/async_client_multiplexing.rs"
[[test]]
name = "client_id_mismatch"
path = "tests/client_id_mismatch.rs"
[[test]]
name = "client_multiplexing"
path = "tests/client_multiplexing.rs"
[[test]]
name = "json_pointer_tests"
path = "tests/json_pointer_tests.rs"
[[test]]
name = "repe_tests"
path = "tests/repe_tests.rs"
[[test]]
name = "struct_registration"
path = "tests/struct_registration.rs"
[dependencies.beve]
version = "0.1"
[dependencies.parking_lot]
version = "0.12"
optional = true
[dependencies.repe-derive]
version = "0.1.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"net",
"time",
"io-util",
"sync",
]
[dev-dependencies.rand]
version = "0.8"