Skip to content

Commit 5a987ac

Browse files
committed
Rename umc_utils crate to utils and update references
The internal crate 'umc_utils' has been renamed to 'utils' with version updated to 0.1.2. All references in Cargo.toml, CI workflow, and source files have been updated accordingly to reflect the new crate name.
1 parent 67d4d47 commit 5a987ac

5 files changed

Lines changed: 17 additions & 25 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# This file is autogenerated by maturin v1.9.4
2-
# To update, run
3-
#
4-
# maturin generate-ci github
5-
#
61
name: CI
72

83
on:
@@ -11,7 +6,7 @@ on:
116
- main
127
- master
138
tags:
14-
- '*'
9+
- "*"
1510
pull_request:
1611
workflow_dispatch:
1712

@@ -159,18 +154,15 @@ jobs:
159154
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
160155
needs: [linux, musllinux, windows, macos, sdist]
161156
permissions:
162-
# Use to sign the release artifacts
163157
id-token: write
164-
# Used to upload release artifacts
165158
contents: write
166-
# Used to generate artifact attestation
167159
attestations: write
168160
steps:
169161
- uses: actions/download-artifact@v4
170162
- name: Generate artifact attestation
171163
uses: actions/attest-build-provenance@v2
172164
with:
173-
subject-path: 'wheels-*/*'
165+
subject-path: "wheels-*/*"
174166
- name: Publish to PyPI
175167
if: ${{ startsWith(github.ref, 'refs/tags/') }}
176168
uses: PyO3/maturin-action@v1

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyqmc"
3-
version = "0.1.0"
3+
version = "0.1.2"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -14,4 +14,4 @@ lazy_static = "1.5.0"
1414
pyo3 = "0.25.0"
1515
tc_tea = "0.2.1"
1616
thiserror = "2.0.16"
17-
umc_utils = { path = "./src/utils" }
17+
utils = { path = "./src/utils" }

src/ekey.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use lazy_static::lazy_static;
33
use std::ops::Mul;
44
use tc_tea::TcTeaError;
55
use thiserror::Error;
6-
use umc_utils::base64;
6+
use utils::base64;
77

88
/// Base64 encoded prefix: "QQMusic EncV2,Key:"
99
const EKEY_V2_PREFIX: &[u8; 24] = b"UVFNdXNpYyBFbmNWMixLZXk6";

src/utils/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
2-
name = "umc_utils"
3-
version = "0.1.12"
2+
name = "utils"
3+
version = "0.1.2"
44
edition = "2021"
55

66
[dependencies]

0 commit comments

Comments
 (0)