Skip to content

Commit

Permalink
Merge pull request #109 from 4t145/update-poem-to-v2
Browse files Browse the repository at this point in the history
re-export poem-grpc
  • Loading branch information
4t145 authored Mar 18, 2024
2 parents 767beb8 + 186f3ef commit c6a7a9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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

0 comments on commit c6a7a9d

Please sign in to comment.