├── .cargo-husky └── hooks │ └── pre-commit ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── Cargo.toml ├── Changelog.md ├── Contributing.md ├── LICENSE.md ├── README.md ├── README.tpl ├── preroll-example ├── Cargo.toml ├── README.md ├── src │ ├── lib.rs │ └── main.rs └── tests │ ├── integration.rs │ ├── networked.rs │ └── test_utils.rs └── src ├── builtins ├── mod.rs └── monitor.rs ├── lib.rs ├── logging ├── json.rs ├── mod.rs └── pretty.rs ├── middleware ├── clacks.rs ├── extension_types │ ├── correlation_id.rs │ ├── mod.rs │ └── request_id.rs ├── honeycomb │ ├── errors.rs │ ├── mod.rs │ └── propagation.rs ├── json_error.rs ├── logger.rs ├── mod.rs ├── postgres.rs ├── requestid.rs └── trace.rs ├── prelude.rs ├── routes_variadic.rs ├── setup.rs ├── test_utils └── mod.rs └── utils.rs /.cargo-husky/hooks/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/.cargo-husky/hooks/pre-commit -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/Changelog.md -------------------------------------------------------------------------------- /Contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/Contributing.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/README.md -------------------------------------------------------------------------------- /README.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/README.tpl -------------------------------------------------------------------------------- /preroll-example/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/preroll-example/Cargo.toml -------------------------------------------------------------------------------- /preroll-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/preroll-example/README.md -------------------------------------------------------------------------------- /preroll-example/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/preroll-example/src/lib.rs -------------------------------------------------------------------------------- /preroll-example/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/preroll-example/src/main.rs -------------------------------------------------------------------------------- /preroll-example/tests/integration.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/preroll-example/tests/integration.rs -------------------------------------------------------------------------------- /preroll-example/tests/networked.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/preroll-example/tests/networked.rs -------------------------------------------------------------------------------- /preroll-example/tests/test_utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/preroll-example/tests/test_utils.rs -------------------------------------------------------------------------------- /src/builtins/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod monitor; 2 | -------------------------------------------------------------------------------- /src/builtins/monitor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/builtins/monitor.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/logging/json.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/logging/json.rs -------------------------------------------------------------------------------- /src/logging/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/logging/mod.rs -------------------------------------------------------------------------------- /src/logging/pretty.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/logging/pretty.rs -------------------------------------------------------------------------------- /src/middleware/clacks.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/middleware/clacks.rs -------------------------------------------------------------------------------- /src/middleware/extension_types/correlation_id.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/middleware/extension_types/correlation_id.rs -------------------------------------------------------------------------------- /src/middleware/extension_types/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/middleware/extension_types/mod.rs -------------------------------------------------------------------------------- /src/middleware/extension_types/request_id.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/middleware/extension_types/request_id.rs -------------------------------------------------------------------------------- /src/middleware/honeycomb/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/middleware/honeycomb/errors.rs -------------------------------------------------------------------------------- /src/middleware/honeycomb/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/middleware/honeycomb/mod.rs -------------------------------------------------------------------------------- /src/middleware/honeycomb/propagation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/middleware/honeycomb/propagation.rs -------------------------------------------------------------------------------- /src/middleware/json_error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/middleware/json_error.rs -------------------------------------------------------------------------------- /src/middleware/logger.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/middleware/logger.rs -------------------------------------------------------------------------------- /src/middleware/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/middleware/mod.rs -------------------------------------------------------------------------------- /src/middleware/postgres.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/middleware/postgres.rs -------------------------------------------------------------------------------- /src/middleware/requestid.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/middleware/requestid.rs -------------------------------------------------------------------------------- /src/middleware/trace.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/middleware/trace.rs -------------------------------------------------------------------------------- /src/prelude.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/prelude.rs -------------------------------------------------------------------------------- /src/routes_variadic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/routes_variadic.rs -------------------------------------------------------------------------------- /src/setup.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/setup.rs -------------------------------------------------------------------------------- /src/test_utils/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/test_utils/mod.rs -------------------------------------------------------------------------------- /src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eaze/preroll/HEAD/src/utils.rs --------------------------------------------------------------------------------