[dependencies.apache-avro]
optional = true
version = "0.21"
[dependencies.async-graphql-parser]
optional = true
version = "7.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.flate2]
version = "1.0"
[dependencies.hex]
version = "0.4"
[dependencies.oas3]
optional = true
version = "0.20"
[dependencies.once_cell]
version = "1.19"
[dependencies.prost]
optional = true
version = "0.14"
[dependencies.prost-types]
optional = true
version = "0.14"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["rt", "sync", "time", "macros"]
version = "1.40"
[dependencies.tonic]
optional = true
version = "0.14"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.proptest]
version = "1.5"
[dev-dependencies.tokio]
features = ["rt-multi-thread", "macros", "test-util"]
version = "1.40"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "merger"
path = "examples/merger.rs"
[features]
default = ["memory-registry"]
full = ["providers-all", "gateway"]
gateway = []
memory-registry = []
providers-all = ["providers-openapi", "providers-asyncapi", "providers-grpc", "providers-graphql", "providers-orpc", "providers-avro", "providers-thrift"]
providers-asyncapi = []
providers-avro = ["apache-avro"]
providers-graphql = ["async-graphql-parser"]
providers-grpc = ["prost", "prost-types", "tonic"]
providers-openapi = ["oas3"]
providers-orpc = ["oas3"]
providers-thrift = []
[lib]
name = "farp"
path = "src/lib.rs"
[package]
authors = ["Rex Raphael <rex.raphael@outlook.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming", "web-programming", "api-bindings"]
description = "Forge API Gateway Registration Protocol (FARP) - Schema-aware service discovery and gateway integration"
documentation = "https://docs.rs/farp"
edition = "2021"
keywords = ["api-gateway", "service-discovery", "openapi", "asyncapi", "schema"]
license = "MIT OR Apache-2.0"
name = "farp"
readme = "README.md"
repository = "https://github.com/xraph/farp"
rust-version = "1.75"
version = "1.0.2"
[profile.bench]
inherits = "release"
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "merger_tests"
path = "tests/merger_tests.rs"