Skip to content

Commit 4f23f75

Browse files
feat: Create documentation and prepare crate for packaging
- Created a `docs` folder to store documentation. - Moved `README.md` to `docs/README.md` and updated `Cargo.toml` accordingly. - Generated HTML documentation for `netmap-rs` using `cargo doc` and placed it in `docs/netmap_rs`. - Enhanced `src/lib.rs` with a comprehensive `# Usage` section, including a basic code example, and improved other doc comments. - Ensured `netmap-min-sys/Cargo.toml` has necessary fields for publishing and corrected an author email format. - Updated `netmap-rs/Cargo.toml` to correct an author email format. - Modified `netmap-rs/Cargo.toml` to use a path dependency for `netmap-min-sys` to allow local packaging (will need to be changed to version dependency for actual publishing).
1 parent 41d8c63 commit 4f23f75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ bitflags = "2.0"
2020
core_affinity = { version = "0.8", optional = true }
2121
crossbeam = { version = "0.8", optional = true }
2222
libc = "0.2"
23-
netmap-min-sys = { version = "0.1.0", optional = true } # Assuming netmap-min-sys is published as 0.1.0
23+
netmap-min-sys = { path ='netmap-min-sys', optional = true }
2424
reed-solomon-erasure = { version = "6.0.0", optional = true}
2525
thiserror = "1.0"
2626

0 commit comments

Comments
 (0)