port-sdk 0.1.0

Rust SDK for Port APIs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Feature Flags

| Feature      | Description                                                        | Default |
|--------------|--------------------------------------------------------------------|:-------:|
| `rustls-tls` | Use `rustls` for HTTPS (preferred in most environments).           ||
| `native-tls`| Switch to platform TLS using `reqwest`'s `native-tls` feature.      ||
| `blocking`   | Expose a blocking client via `reqwest/blocking`.                   ||
| `retry`      | Enable exponential backoff via the `backoff` crate.                ||
| `telemetry`  | Enable tracing spans using the `tracing` crate.                    ||

Enable optional features in `Cargo.toml`:

```toml
port-sdk = { version = "0.1", default-features = false, features = ["native-tls", "retry", "telemetry"] }
```