idbag

Check-in Differences
Login

Check-in Differences

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Difference From idbag-0.2.1 To idbag-0.2.2

2024-11-10
18:11
Release maintenance. Leaf check-in: f90256bd71 user: jan tags: idbag-0.2.2, trunk
18:09
Add strong_count() to ArcId types. check-in: ddea43ca53 user: jan tags: trunk
2024-10-02
16:51
Release maintenance. check-in: d07e7f9a14 user: jan tags: idbag-0.2.1, trunk
16:42
Update changelog. Use hashbrown 0.15.0. check-in: 4d7c70b176 user: jan tags: trunk

Changes to Cargo.toml.

1
2
3
4
5
6
7
8
9
10
[package]
name = "idbag"
version = "0.2.1"
edition = "2021"
license = "0BSD"
# https://crates.io/category_slugs
categories = [ "data-structures" ]
keywords = [ "bag", "identifier" ]
repository = "https://repos.qrnch.tech/pub/idbag"
description = "A bag of integers."


|







1
2
3
4
5
6
7
8
9
10
[package]
name = "idbag"
version = "0.2.2"
edition = "2021"
license = "0BSD"
# https://crates.io/category_slugs
categories = [ "data-structures" ]
keywords = [ "bag", "identifier" ]
repository = "https://repos.qrnch.tech/pub/idbag"
description = "A bag of integers."

Changes to src/lib.rs.

315
316
317
318
319
320
321









322
323
324
325
326
327
328
        Returns the inner value, if the `ArcId"# $int_name r#"` has exactly
        one strong reference.
        "#]
        #[must_use]
        pub fn into_inner(this: Self) -> Option<[<Id $int_name>]> {
          Arc::<[<Id $int_name>]>::into_inner(this.0)
        }









      }

      impl Borrow<$int_type> for [<ArcId $int_name>] {
        fn borrow(&self) -> &$int_type {
          (*self.0).borrow()
        }
      }







>
>
>
>
>
>
>
>
>







315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
        Returns the inner value, if the `ArcId"# $int_name r#"` has exactly
        one strong reference.
        "#]
        #[must_use]
        pub fn into_inner(this: Self) -> Option<[<Id $int_name>]> {
          Arc::<[<Id $int_name>]>::into_inner(this.0)
        }


        #[doc = r#"
        Return the strong count of internal `Arc`.
        "#]
        #[must_use]
        pub fn strong_count(&self) -> usize {
          Arc::strong_count(&self.0)
        }
      }

      impl Borrow<$int_type> for [<ArcId $int_name>] {
        fn borrow(&self) -> &$int_type {
          (*self.0).borrow()
        }
      }

Changes to www/changelog.md.

1
2
3
4
5
6
7
8
9
10
11
12
13
14










15
16
17
18
19
20
21
# Change Log

⚠️  indicates a breaking change.

## [Unreleased]

[Details](/vdiff?from=idbag-0.2.1&to=trunk)

### Added

### Changed

### Removed











---

## [0.2.1] - 2024-10-02

[Details](/vdiff?from=idbag-0.2.0&to=idbag-0.2.1)

### Changed






|







>
>
>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Change Log

⚠️  indicates a breaking change.

## [Unreleased]

[Details](/vdiff?from=idbag-0.2.2&to=trunk)

### Added

### Changed

### Removed

---

## [0.2.2] - 2024-11-10

[Details](/vdiff?from=idbag-0.2.1&to=idbag-0.2.2)

### Added

- Add `strong_count()` to `ArcId*` types.

---

## [0.2.1] - 2024-10-02

[Details](/vdiff?from=idbag-0.2.0&to=idbag-0.2.1)

### Changed