Skip to content

Commit 7610c03

Browse files
fix: unpin log version
A pinned version forces downstream users to use the same version, potentially causing versioning conflicts. Signed-off-by: Florian Hartung <florian.hartung@dlr.de>
1 parent 5596ced commit 7610c03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ resolver = "2"
1111
env_logger = "0.10.1"
1212
indexmap = "=2.11.4" # this version has MSRV 1.63, while the next 2.12.0 jumps to MSRV 1.82
1313
libm = "0.2.8"
14-
log = "=0.4.22"
14+
log = "0.4.22"
1515
serde = { version = "1.0.217", features = ["derive"] }
1616
serde_json = "1.0.138"
1717
test-log = { version = "0.2.14", features = ["log"] }

requirements/requirements.sdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ RELATIONS:
136136
UID: REQ-15
137137
TITLE: Allow log dependency
138138
STATEMENT: >>>
139-
The interpreter shall have an optional dependency on the ``log`` crate version ``0.4.22``
139+
The interpreter shall have an optional dependency on the ``log`` version ``0.4.22`` or later.
140140
<<<
141141
RATIONALE: >>>
142142
Logging is an essential tool to make a system observable, and aid in debugging. Bespoke crate is widely used in the Rust ecosystem and can be attached to any (or no) logging backend. Using conditional compilation, all of the ``log`` crate's footprint in the WASM interpreter (foremost the ``debug``, ``error``, ``info``, ``trace`` and ``warn`` macro) can be expanded to empty statements to avoid **any** run-time impact when opting out of the dependency on ``log``.

0 commit comments

Comments
 (0)