Fix build with `--features google` (#2566)
* Fix `cargo build --features google` * Add `cargo test --features google`
This commit is contained in:
parent
0b7df77178
commit
0aa66d693a
|
@ -58,3 +58,6 @@ jobs:
|
||||||
- name: Run Rust tests
|
- name: Run Rust tests
|
||||||
run: |
|
run: |
|
||||||
cargo test
|
cargo test
|
||||||
|
- name: Run Rust tests with google feature
|
||||||
|
run: |
|
||||||
|
cargo test --features google
|
||||||
|
|
|
@ -2029,7 +2029,8 @@ async fn start(
|
||||||
|
|
||||||
#[cfg(feature = "google")]
|
#[cfg(feature = "google")]
|
||||||
{
|
{
|
||||||
use crate::VertexInstance;
|
use crate::vertex::__path_vertex_compatibility;
|
||||||
|
use crate::vertex::{VertexInstance, VertexRequest, VertexResponse};
|
||||||
|
|
||||||
#[derive(OpenApi)]
|
#[derive(OpenApi)]
|
||||||
#[openapi(
|
#[openapi(
|
||||||
|
|
Loading…
Reference in New Issue