diff --git a/Cargo.toml b/Cargo.toml index e9f03ce..16e13cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,6 +49,3 @@ features = ["derive"] version = "0.12" default-features = false features = ["json"] - -[dev-dependencies] -warp = "0.3" \ No newline at end of file diff --git a/README.md b/README.md index 88e30f7..ee8eaff 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ warp = { version = "0.3", default-features = false } in src/main.rs: -```rust, no_run +```rust, ignore use std::{convert::Infallible, env, net::SocketAddr, sync::Arc}; use cookie::time::Duration; diff --git a/templates/README.md b/templates/README.md index 9bfa023..461c049 100644 --- a/templates/README.md +++ b/templates/README.md @@ -62,6 +62,6 @@ in Cargo.toml: in src/main.rs: -{{ codeblock "rust, no_run" ( http_get (replace "https://raw.githubusercontent.com/kilork/openid-examples/vVERSION/examples/warp.rs" "VERSION" (env_var "OPENID_RUST_MAJOR_VERSION") ) ) }} +{{ codeblock "rust, ignore" ( http_get (replace "https://raw.githubusercontent.com/kilork/openid-examples/vVERSION/examples/warp.rs" "VERSION" (env_var "OPENID_RUST_MAJOR_VERSION") ) ) }} See full example: [openid-examples: warp](https://github.com/kilork/openid-examples/blob/v{{ env_var "OPENID_RUST_MAJOR_VERSION" }}/examples/warp.rs)