Skip to content

Commit 97e9524

Browse files
committed
Maintain the workspace
* split the tests into separate files * updated Cargo.toml * linked licenses
1 parent 9135f96 commit 97e9524

18 files changed

Lines changed: 2079 additions & 2537 deletions

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@ resolver = "2"
1717
debug = false
1818

1919
[workspace.dependencies]
20+
21+
[workspace.package]
22+
# shared version of all public crates in the workspace
23+
version = "0.10.0"
24+
rust-version = "1.82.0"

fuzz/LICENSE-APACHE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE-APACHE

fuzz/LICENSE-MIT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE-MIT

matrix/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
[package]
22
name = "bit-matrix"
3-
version = "0.9.0"
4-
3+
version.workspace = true
4+
rust-version.workspace = true
55
authors = [ "Piotr Czarnecki <pioczarn@gmail.com>" ]
66
description = "Library for bit matrices and vectors."
77
keywords = ["container", "bit", "bitfield", "algebra"]
88
documentation = "https://docs.rs/bit-matrix/latest/bit_matrix/"
99
repository = "https://github.com/pczarn/bit-matrix"
1010
license = "MIT/Apache-2.0"
1111
edition = "2021"
12-
rust-version = "1.77"
1312

1413
[lib]
1514
name = "bit_matrix"

matrix/LICENSE-APACHE

Lines changed: 0 additions & 201 deletions
This file was deleted.

matrix/LICENSE-APACHE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE-APACHE

matrix/LICENSE-MIT

Lines changed: 0 additions & 25 deletions
This file was deleted.

matrix/LICENSE-MIT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE-MIT

matrix/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![crates.io][crates.io shield]][crates.io link]
99
[![Documentation][docs.rs badge]][docs.rs link]
1010
![Rust CI][github ci badge]
11-
![MSRV][rustc 1.65+]
11+
![MSRV][rustc 1.82+]
1212
<br />
1313
<br />
1414
[![Dependency Status][deps.rs status]][deps.rs link]
@@ -22,7 +22,7 @@
2222
[docs.rs badge]: https://docs.rs/bit-matrix/badge.svg?version=0.8.1
2323
[docs.rs link]: https://docs.rs/bit-matrix/0.8.1/bit-matrix/
2424
[github ci badge]: https://github.com/pczarn/bit-matrix/workflows/CI/badge.svg?branch=master
25-
[rustc 1.65+]: https://img.shields.io/badge/rustc-1.65%2B-blue.svg
25+
[rustc 1.82+]: https://img.shields.io/badge/rustc-1.82%2B-blue.svg
2626
[deps.rs status]: https://deps.rs/crate/bit-matrix/0.8.1/status.svg
2727
[deps.rs link]: https://deps.rs/crate/bit-matrix/0.8.1
2828
[shields.io download count]: https://img.shields.io/crates/d/bit-matrix.svg

set/Cargo.toml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[package]
22
name = "bit-set"
3-
version = "0.8.0"
3+
version.workspace = true
4+
rust-version.workspace = true
45
authors = ["Alexis Beingessner <a.beingessner@gmail.com>"]
56
license = "Apache-2.0 OR MIT"
67
description = "A set of bits"
@@ -10,13 +11,12 @@ documentation = "https://docs.rs/bit-set/"
1011
keywords = ["data-structures", "bitset"]
1112
readme = "README.md"
1213
edition = "2021"
13-
rust-version = "1.85"
1414

1515
[dependencies]
16-
borsh = { version = "1.5", default-features = false, features = ["derive"], optional = true }
17-
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
16+
borsh = { version = "1.6.0", default-features = false, features = ["derive"], optional = true }
17+
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"], optional = true }
1818
miniserde = { version = "0.1", optional = true }
19-
nanoserde = { git = "https://github.com/not-fl3/nanoserde.git", optional = true }
19+
nanoserde = { version = "0.1", optional = true }
2020
smallvec = { version = "1.15", optional = true }
2121

2222
[dependencies.bit-vec]
@@ -38,9 +38,5 @@ serde = ["dep:serde", "bit-vec/serde"]
3838
miniserde = ["dep:miniserde", "bit-vec/miniserde"]
3939
nanoserde = ["dep:nanoserde", "bit-vec/nanoserde"]
4040

41-
serde_std = ["std", "serde/std"]
42-
serde_no_std = ["serde/alloc"]
43-
borsh_std = ["borsh/std"]
44-
4541
[package.metadata.docs.rs]
46-
features = ["borsh", "serde", "miniserde", "nanoserde"]
42+
features = ["borsh", "serde", "miniserde", "nanoserde", "smallvec"]

0 commit comments

Comments
 (0)