From eba86d542d19f7bb41ec80298daa2a5231587b87 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 3 Mar 2024 17:29:27 +0100 Subject: [PATCH 1/4] fix github ci --- .github/workflows/cargo.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cargo.yaml b/.github/workflows/cargo.yaml index 8a1a394..541a626 100644 --- a/.github/workflows/cargo.yaml +++ b/.github/workflows/cargo.yaml @@ -38,7 +38,9 @@ jobs: - name: cargo fmt run: cargo fmt --all - name: install python - run: apt update && apt install libpython3-dev -y + uses: actions/setup-python@v5 + with: + python-version: '3.11' - name: cargo test run: cargo test --all-features --all-targets --workspace - name: commit back to repository From 3f4a092d8d9c7abf515d54f5ae91a6a68b5cbe95 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 3 Mar 2024 17:31:50 +0100 Subject: [PATCH 2/4] bump version --- Cargo.toml | 2 +- members/libpt-log/Cargo.toml | 2 +- members/libpt-py/Cargo.toml | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a221262..6a5a06f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ default-members = [".", "members/libpt-core"] [workspace.package] publish = true -version = "0.4.0" +version = "0.4.1" edition = "2021" authors = ["Christoph J. Scherr "] license = "MIT" diff --git a/members/libpt-log/Cargo.toml b/members/libpt-log/Cargo.toml index b7b59d9..f41b6d6 100644 --- a/members/libpt-log/Cargo.toml +++ b/members/libpt-log/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "libpt-log" publish.workspace = true -version = "0.4.0" +version = "0.4.1" edition.workspace = true authors.workspace = true license.workspace = true diff --git a/members/libpt-py/Cargo.toml b/members/libpt-py/Cargo.toml index 3398d38..8d53a73 100644 --- a/members/libpt-py/Cargo.toml +++ b/members/libpt-py/Cargo.toml @@ -2,6 +2,14 @@ name = "libpt-py" version.workspace = true edition.workspace = true +authors.workspace = true +license.workspace = true +description.workspace = true +readme.workspace = true +homepage.workspace = true +repository.workspace = true +keywords.workspace = true +categories.workspace = true [package.metadata.maturin] name = "libpt" From b374aa7e43143f0132b40fbdce64d89496607cec Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 3 Mar 2024 18:02:24 +0100 Subject: [PATCH 3/4] update deps --- Cargo.toml | 9 ++++----- members/libpt-py/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6a5a06f..bc3dc60 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ default-members = [".", "members/libpt-core"] [workspace.package] publish = true -version = "0.4.1" +version = "0.4.2" edition = "2021" authors = ["Christoph J. Scherr "] license = "MIT" @@ -28,10 +28,9 @@ categories = [ [workspace.dependencies] anyhow = "1.0.79" thiserror = "1.0.56" -libpt-core = { version = "0.4.0-alpha.2", path = "members/libpt-core" } -libpt-bintols = { version = "0.4.0-alpha.2", path = "members/libpt-bintols" } -libpt-log = { version = "0.4.0-alpha.2", path = "members/libpt-log" } -libpt-py = { version = "0.4.0-alpha.2", path = "members/libpt-py" } +libpt-core = { version = "0.4.0", path = "members/libpt-core" } +libpt-bintols = { version = "0.4.0", path = "members/libpt-bintols" } +libpt-log = { version = "0.4.1", path = "members/libpt-log" } [package] name = "libpt" diff --git a/members/libpt-py/Cargo.toml b/members/libpt-py/Cargo.toml index 8d53a73..bc0084a 100644 --- a/members/libpt-py/Cargo.toml +++ b/members/libpt-py/Cargo.toml @@ -19,7 +19,7 @@ name = "libpt" crate-type = ["cdylib", "rlib"] [dependencies] -libpt = { version = "0.4.0-alpha.1", path = "../.." } +libpt = { version = "0.4.2", path = "../.." } pyo3 = { version = "0.19.0", features = ["full"] } anyhow.workspace = true From fc1ab46d8ac7353bf04c878059bdf39a94d672a3 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 3 Mar 2024 18:19:36 +0100 Subject: [PATCH 4/4] docs rs attribute --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index da1c5bf..662b08b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,6 +5,7 @@ //! //! `pt` is a project consisting of multiple smaller crates, all bundled together in this //! "main crate". Most crates will only show up if you activate their feature. +#[cfg_attr(docsrs, doc(cfg(feature = "full")))] #[cfg(feature = "bintols")] pub use libpt_bintols as bintols;