|
3 | 3 | # This is used with cargo-check-external-types to reduce the surface area of downstream crates from |
4 | 4 | # the public API. Ideally this can have a few exceptions as possible. |
5 | 5 | allowed_external_types = [ |
6 | | - "opentelemetry::*", |
7 | 6 | "opentelemetry_http::*", |
8 | 7 | "opentelemetry_sdk::*", |
9 | | - # http is a pre 1.0 crate |
10 | | - "http::uri::InvalidUri", |
11 | | - "http::header::name::InvalidHeaderName", |
12 | | - "http::header::value::InvalidHeaderValue", |
13 | | - # prost is a pre 1.0 crate |
14 | | - "prost::error::EncodeError", |
| 8 | + # serde |
| 9 | + "serde::de::Deserialize", |
| 10 | + "serde::ser::Serialize", |
15 | 11 | # tonic is a pre 1.0 crate |
16 | | - "tonic::status::Code", |
17 | | - "tonic::status::Status", |
18 | 12 | "tonic::metadata::map::MetadataMap", |
| 13 | + "tonic::transport::channel::tls::ClientTlsConfig", |
| 14 | + "tonic::transport::tls::Certificate", |
| 15 | + "tonic::transport::tls::Identity", |
19 | 16 | "tonic::transport::channel::Channel", |
20 | | - "tonic::transport::error::Error", |
21 | 17 | "tonic::service::interceptor::Interceptor", |
22 | 18 | ] |
0 commit comments