Skip to content

Commit

Permalink
Review updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
markmandel committed Sep 2, 2021
1 parent a09d9a2 commit c2b92b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions examples/quilkin-filter-example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ edition = "2018"
# quilkin = "0.2.0"
quilkin = { path = "../../" }
tokio = { version = "1", features = ["full"] }
tonic = "0.5.0"
prost = "0.8"
prost-types = "0.8"
serde = "1.0"
Expand Down
5 changes: 1 addition & 4 deletions examples/quilkin-filter-example/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* limitations under the License.
*/

quilkin::include_proto!("greet");
use greet::Greet as ProtoGreet;
use quilkin::filters::prelude::*;

Expand All @@ -35,10 +36,6 @@ impl TryFrom<ProtoGreet> for Config {
}
}

mod greet {
include!(concat!(env!("OUT_DIR"), "/greet.rs"));
}

pub const NAME: &str = "greet.v1";

pub fn factory() -> DynFilterFactory {
Expand Down

0 comments on commit c2b92b0

Please sign in to comment.