pybgpkit-parser 0.5.1__tar.gz → 0.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,30 @@
1
+ name: Release
2
+
3
+ permissions:
4
+ contents: write
5
+
6
+ on:
7
+ push:
8
+ tags:
9
+ - v[0-9]+.*
10
+
11
+ jobs:
12
+ # make sure release content has correct format and README is up-to-date
13
+ format-check:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - name: Run format check
18
+ run: cargo fmt --check
19
+
20
+ create-release:
21
+ needs: format-check
22
+ runs-on: ubuntu-latest
23
+ steps:
24
+ - uses: actions/checkout@v4
25
+ - uses: taiki-e/create-gh-release-action@v1
26
+ with:
27
+ # (optional) Path to changelog.
28
+ changelog: CHANGELOG.md
29
+ # (required) GitHub token for creating GitHub Releases.
30
+ token: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,24 @@
1
+ name: Rust
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+
9
+ env:
10
+ CARGO_TERM_COLOR: always
11
+
12
+ jobs:
13
+ build:
14
+
15
+ runs-on: ubuntu-latest
16
+
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+
20
+ - name: Run format check
21
+ run: cargo fmt --check
22
+
23
+ - name: Run clippy
24
+ run: cargo clippy -- -D warnings
@@ -13,4 +13,7 @@ Cargo.lock
13
13
  venv
14
14
  .venv
15
15
 
16
- .env
16
+ .env
17
+ cache
18
+
19
+ .DS_Store
@@ -4,14 +4,17 @@
4
4
 
5
5
  - `maturin`
6
6
  - `docker`
7
+ - run `docker build . -t bgpkit-builder:latest` to build the builder image
7
8
 
8
- ## Checklist
9
+ ## Build and Upload Checklist
9
10
 
10
11
  1. run [`build.sh`](./build.sh) on Apple Silicon Mac
11
12
  2. run [`build.sh`](./build.sh) inside docker on Apple Silicon Mac
12
13
  3. run [`build.sh`](./build.sh) on Intel Mac
13
14
  4. run [`build.sh`](./build.sh) inside docker on Intel Mac
14
15
 
16
+ Then run `twine upload --skip-existing target/wheels/*` at all machines.
17
+
15
18
  ## Build Linux packages in Docker
16
19
 
17
20
  Build image using the [Dockerfile](./Dockerfile) provided
@@ -26,4 +29,4 @@ Run `docker run --rm -it bgpkit-builder:latest bash` to open a shell in the cont
26
29
  ####
27
30
 
28
31
  bash build.sh
29
- ```
32
+ ```
@@ -0,0 +1,19 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## 0.6.0 - 2025-06-04
6
+
7
+ ### Highlights
8
+ * Update `bgpkit-parser` to v0.11.0, which includes several bug fixes and performance improvements.
9
+ * Add support for Python 3.13.
10
+
11
+ ### Breaking changes
12
+ * The `Elem` class's fields can only be access by their getter methods now. Direct access to fields is no longer allowed. This change improves encapsulation and ensures that the internal state of `Elem` is managed correctly.
13
+
14
+ ## 0.5.1 - 2024-02-28
15
+
16
+ ### Highlights
17
+
18
+ * update `bgpkit-parser` to v0.10.1, which fixes a performance regression introduced in 0.10.0.
19
+