Skip to content

Commit 0ec3b13

Browse files
committed
v2.0.0: Enhanced with CVE case studies, secure patterns, and benchmarks
- Added CVE case studies (Heartbleed, Baron Samedit, etc.) - Added secure programming patterns (Type-State, Capabilities, etc.) - Added performance benchmarks with criterion - New examples: cve_case_studies.rs, secure_patterns.rs - New benchmark: safety_overhead.rs
1 parent 66e9949 commit 0ec3b13

File tree

5 files changed

+1734
-7
lines changed

5 files changed

+1734
-7
lines changed

Cargo.toml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
[package]
22
name = "rust-memory-safety-examples"
3-
version = "0.1.0"
3+
version = "2.0.0"
44
edition = "2021"
55
authors = ["Tony Chuks Awunor <[email protected]>"]
6-
description = "Educational examples demonstrating memory-safe programming patterns in Rust"
6+
description = "Comprehensive educational examples demonstrating memory-safe programming patterns with CVE case studies and benchmarks"
77
license = "MIT"
88
repository = "https://github.com/guardsarm/rust-memory-safety-examples"
99
keywords = ["memory-safety", "security", "education", "rust", "examples"]
1010
categories = ["development-tools", "rust-patterns"]
11+
readme = "README.md"
1112

1213
[dependencies]
1314

1415
[dev-dependencies]
16+
criterion = "0.5"
1517

1618
[[example]]
1719
name = "buffer_overflow_prevention"
@@ -24,3 +26,15 @@ path = "examples/use_after_free_prevention.rs"
2426
[[example]]
2527
name = "data_race_prevention"
2628
path = "examples/data_race_prevention.rs"
29+
30+
[[example]]
31+
name = "cve_case_studies"
32+
path = "examples/cve_case_studies.rs"
33+
34+
[[example]]
35+
name = "secure_patterns"
36+
path = "examples/secure_patterns.rs"
37+
38+
[[bench]]
39+
name = "safety_overhead"
40+
harness = false

0 commit comments

Comments
 (0)