Some common crates for the shine project:
- shine-test
- shine-test-macros
- shine-macros
- shine-service
Automatically initializing logging and other handy features for the shine engine tests.
This crate was highly inspired by the test-log crate.
- rustls requires some other dependencies and it may result in
aws-lc-sys
compile errors
The common features for all the server projects.
# Start up mocked resource
$ docker compose up --build
# Run tests
$ cargo test -p shine-service
Set up telemetry configuration:
{
"telemetry": {
"tracing": {
"type": "openTelemetryProtocol",
"endpoint": "http://localhost:4317"
}
}
}
Launch the application:
# Run jaeger in background with OTLP ingestion enabled.
$ docker run -d -p16686:16686 -p4317:4317 -e COLLECTOR_OTLP_ENABLED=true jaegertracing/all-in-one:latest
# View spans
$ firefox http://localhost:16686/
These are the most frequently used cargo extensions in the shine project:
cargo install cargo-outdated
cargo install cargo-tree
cargo install trunk