Skip to content

Commit fd8700e

Browse files
bors[bot]Razaloc
andauthored
Merge #53
53: Prepare crates for release r=obbardc a=Razaloc Cargo.toml of both creates need to have all information required to be published or released. Closes : #54 Signed-off-by: Rafael Garcia Ruiz <rafael.garcia@collabora.com> Co-authored-by: Rafael Garcia Ruiz <rafael.garcia@collabora.com>
2 parents a588fa7 + 3cb98d8 commit fd8700e

File tree

13 files changed

+18
-10
lines changed

13 files changed

+18
-10
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
members = [
3-
"bmap",
3+
"bmap-parser",
44
"bmap-rs",
55
]
66

bmap/Cargo.toml renamed to bmap-parser/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
[package]
2-
name = "bmap"
2+
name = "bmap-parser"
33
version = "0.1.0"
44
authors = ["Sjoerd Simons <sjoerd@collabora.com>"]
55
edition = "2018"
6+
license = "MIT AND Apache-2.0"
7+
description = "bmap-parser is a library for Rust that allows you to copy files or flash block devices safely"
8+
repository = "https://github.com/collabora/bmap-rs"
9+
readme = "../README.md"
610

711
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
812

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

bmap/tests/copy.rs renamed to bmap-parser/tests/copy.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use bmap::{Bmap, Discarder, SeekForward};
1+
use bmap_parser::{Bmap, Discarder, SeekForward};
22
use flate2::read::GzDecoder;
33
use sha2::{Digest, Sha256};
44
use std::env;
@@ -151,8 +151,8 @@ fn copy() {
151151
let (bmap, mut input) = setup_data("test.img");
152152
let mut output = OutputMock::new(bmap.image_size());
153153

154-
bmap::copy(&mut input, &mut output, &bmap).unwrap();
155-
assert_eq!(bmap::HashType::Sha256, bmap.checksum_type());
154+
bmap_parser::copy(&mut input, &mut output, &bmap).unwrap();
155+
assert_eq!(bmap_parser::HashType::Sha256, bmap.checksum_type());
156156
assert_eq!(bmap.block_map().len(), output.ranges.len());
157157

158158
// Assert that written ranges match the ranges in the map file
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)