feat: edihkal_tracing crate, tracing in edihkal-client, cargo resolver v2
Closes #21 (closed)
Highlights:
- Moves tracing configuration/init logic into a separate crate to be shared by
edihkal
andedihkal-client
- Adds test helpers to
edihkal_tracing
for lazy init of tracing output in tests whenTEST_LOG=1
is set - Gates tracing test helpers behind
test-helpers
feature flag - Switches workspace to use cargo's version 2 resolver to ensure
edihkal_tracing/test-helpers
can be enabled onedihkal
only in dev dependencies (for tests). Otherwise the feature flags would be unified and the test helpers would be included unnecessarily in normal builds. - Adds some basic unit tests to the
edihkal-client
library. ...