Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-export poem-grpc #109

Merged
merged 4 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tardis/src/web.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#[cfg(feature = "web-server")]
#[cfg_attr(docsrs, doc(cfg(feature = "web-server")))]
pub use poem;
#[cfg(feature = "web-server-grpc")]
#[cfg_attr(docsrs, doc(cfg(feature = "web-server-grpc")))]
pub use poem_grpc;
#[cfg(feature = "web-server")]
#[cfg_attr(docsrs, doc(cfg(feature = "web-server")))]
pub use poem_openapi;
Expand Down
4 changes: 2 additions & 2 deletions tardis/tests/test_web_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ use poem_grpc::{Request as GrpcRequest, Response as GrpcResponse, Status as Grpc
use tracing_subscriber::filter::Directive;

const TLS_KEY: &str = r#"
-----BEGIN RSA PRIVATE KEY-----
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCq4QyODxghypMz
u3wSNYAH7qsekRasbkFWlzRlfCkVfxMynGh8uRfNod4UrHAWTXDJAneHoFgqXemI
Vf1z87r0T2NFf3+oochAKvE6z9hNSeBbLIeZXPQQcabtO9T5cS4anK3k0mbgRpdM
Expand All @@ -66,7 +66,7 @@ j1laOnlu9j17KOjS127pQzCkVQELWDjXzhoQ1AmRAoGACFk2lgato0S/PTdHhsOa
0G4zCbIpjndRYuW5IMURpiGeQEZ5unIuX72lx180ncj+PTw6DxxiEsESDhIp1VfW
RWf7YsEUgQICLka42SY+UsSfEe7Wya3ZM4bhc+wVi2rgjVBriuBC5UzMAWpCyMri
7A2laBCqWVkgks5BQPLtlXg=
-----END RSA PRIVATE KEY-----
-----END PRIVATE KEY-----
"#;

const TLS_CERT: &str = r#"
Expand Down
Loading