enum-map
A map with C-like enum keys represented internally as an array
Activity
- Latest release
- 1mo ago
- Total releases
- 82
- Cadence
- ~16 days
- Last 12 months
- 2
Details
- License
- MIT OR Apache-2.0
- First release
- May 16, 2017
| Version | Released | |
|---|---|---|
3.1.0
minor
|
3.1.0
minor
Dependencies (8)
|
|
3.0.0
major
yanked
1 CVE
RUSTSEC-2026-0218
Jul 21, 2026
`Enum` trait allows type confusion when manually implemented Affected versions of this crate did not require the element type of the This can result in type confusion, and consequently memory corruption, when a manual
The flaw was corrected in commit 7a8b815432 by adding a Fixed in
3.1.0
References Updated Jul 28, 2026 · Source: OSV.dev |
3.0.0
major
yanked
Dependencies (8)
|
|
2.7.3
patch
|
2.7.3
patch
Dependencies (7)
|
|
2.7.2
patch
yanked
|
2.7.2
patch
yanked
Dependencies (7)
|
|
3.0.0-beta.2
pre
yanked
1 CVE
RUSTSEC-2026-0218
Jul 21, 2026
`Enum` trait allows type confusion when manually implemented Affected versions of this crate did not require the element type of the This can result in type confusion, and consequently memory corruption, when a manual
The flaw was corrected in commit 7a8b815432 by adding a Fixed in
3.1.0
References Updated Jul 28, 2026 · Source: OSV.dev |
3.0.0-beta.2
pre
yanked
Dependencies (7)
|
|
2.7.1
patch
|
2.7.1
patch
Dependencies (7)
|
|
3.0.0-beta.1
pre
yanked
1 CVE
RUSTSEC-2026-0218
Jul 21, 2026
`Enum` trait allows type confusion when manually implemented Affected versions of this crate did not require the element type of the This can result in type confusion, and consequently memory corruption, when a manual
The flaw was corrected in commit 7a8b815432 by adding a Fixed in
3.1.0
References Updated Jul 28, 2026 · Source: OSV.dev |
3.0.0-beta.1
pre
yanked
Dependencies (7)
|
|
2.7.0
minor
|
2.7.0
minor
Dependencies (7)
|
|
3.0.0-0.gat.0
pre
yanked
1 CVE
RUSTSEC-2026-0218
Jul 21, 2026
`Enum` trait allows type confusion when manually implemented Affected versions of this crate did not require the element type of the This can result in type confusion, and consequently memory corruption, when a manual
The flaw was corrected in commit 7a8b815432 by adding a Fixed in
3.1.0
References Updated Jul 28, 2026 · Source: OSV.dev |
3.0.0-0.gat.0
pre
yanked
Dependencies (7)
|
|
2.6.3
patch
|
2.6.3
patch
Dependencies (7)
|
|
2.6.2
patch
|
2.6.2
patch
Dependencies (7)
|
|
2.6.1
patch
|
2.6.1
patch
Dependencies (7)
|
|
2.6.0
minor
|
2.6.0
minor
Dependencies (7)
|
|
2.5.0
minor
|
2.5.0
minor
Dependencies (7)
|
|
2.4.2
patch
|
2.4.2
patch
Dependencies (7)
|
|
2.4.1
patch
|
2.4.1
patch
Dependencies (7)
|
|
2.4.0
minor
|
2.4.0
minor
Dependencies (7)
|
|
2.3.0
minor
|
2.3.0
minor
Dependencies (7)
|
|
2.2.0
minor
|
2.2.0
minor
Dependencies (7)
|
|
2.1.0
minor
|
2.1.0
minor
Dependencies (7)
|
|
2.0.3
patch
|
2.0.3
patch
Dependencies (7)
|
|
0.6.6
patch
|
0.6.6
patch
Dependencies (7)
|
|
0.6.5
patch
|
0.6.5
patch
Dependencies (7)
|
|
2.0.2
patch
|
2.0.2
patch
Dependencies (7)
|
|
2.0.1
patch
yanked
1 CVE
GHSA-rxhx-9fj6-6h2m
RUSTSEC-2022-0010
Jun 16, 2022
enum_map macro can cause UB when `Enum` trait is incorrectly implemented
High
Affected versions of this crate did not properly check the length of an enum when using When the This problem can only occur with a manual implementation of the Enum trait, it will never occur for enums that use Example code that triggers this vulnerability looks like this:
The flaw was corrected in commit b824e23 by putting Fixed in
2.0.2
References
Updated Nov 08, 2023 · Source: OSV.dev |
2.0.1
patch
yanked
Dependencies (7)
|
|
2.0.0
major
yanked
1 CVE
GHSA-rxhx-9fj6-6h2m
RUSTSEC-2022-0010
Jun 16, 2022
enum_map macro can cause UB when `Enum` trait is incorrectly implemented
High
Affected versions of this crate did not properly check the length of an enum when using When the This problem can only occur with a manual implementation of the Enum trait, it will never occur for enums that use Example code that triggers this vulnerability looks like this:
The flaw was corrected in commit b824e23 by putting Fixed in
2.0.2
References
Updated Nov 08, 2023 · Source: OSV.dev |
2.0.0
major
yanked
Dependencies (7)
|
|
2.0.0-2
pre
yanked
1 CVE
GHSA-rxhx-9fj6-6h2m
RUSTSEC-2022-0010
Jun 16, 2022
enum_map macro can cause UB when `Enum` trait is incorrectly implemented
High
Affected versions of this crate did not properly check the length of an enum when using When the This problem can only occur with a manual implementation of the Enum trait, it will never occur for enums that use Example code that triggers this vulnerability looks like this:
The flaw was corrected in commit b824e23 by putting Fixed in
2.0.2
References
Updated Nov 08, 2023 · Source: OSV.dev |
2.0.0-2
pre
yanked
Dependencies (7)
|
|
2.0.0-1
pre
|
2.0.0-1
pre
Dependencies (7)
|
|
1.1.1
patch
|
1.1.1
patch
Dependencies (7)
|
|
1.1.0
minor
|
1.1.0
minor
Dependencies (7)
|
|
1.0.0
major
|
1.0.0
major
Dependencies (6)
|
|
0.6.4
patch
|
0.6.4
patch
Dependencies (7)
|
|
0.6.3
patch
|
0.6.3
patch
Dependencies (7)
|
|
0.6.2
patch
|
0.6.2
patch
Dependencies (7)
|
|
0.6.1
patch
|
0.6.1
patch
Dependencies (7)
|
|
0.6.0
minor
|
0.6.0
minor
Dependencies (7)
|
|
0.5.0
minor
|
0.5.0
minor
Dependencies (7)
|
|
0.4.1
patch
|
0.4.1
patch
Dependencies (8)
|
|
0.3.2
patch
|
0.3.2
patch
Dependencies (8)
|
|
0.2.36
patch
|
0.2.36
patch
Dependencies (7)
|
|
0.2.35
patch
|
0.2.35
patch
Dependencies (6)
|
|
0.3.1
patch
|
0.3.1
patch
Dependencies (7)
|
|
0.4.0
minor
|
0.4.0
minor
Dependencies (7)
|
|
0.3.0
minor
|
0.3.0
minor
Dependencies (7)
|
|
0.2.34
patch
|
0.2.34
patch
Dependencies (6)
|
|
0.2.33
patch
|
0.2.33
patch
Dependencies (6)
|
|
0.2.32
patch
|
0.2.32
patch
Dependencies (6)
|
|
0.2.31
patch
|
0.2.31
patch
Dependencies (6)
|
|
0.2.30
patch
|
0.2.30
patch
Dependencies (6)
|
|
0.2.29
patch
|
0.2.29
patch
Dependencies (6)
|