更改目录结构

This commit is contained in:
shenjack 2024-02-25 12:37:38 +08:00
parent 1b5c33c1d5
commit e14ffbddb4
Signed by: shenjack
GPG Key ID: 7B1134A979775551
5 changed files with 2161 additions and 10 deletions

View File

@ -29,11 +29,6 @@ jobs:
with: with:
# Version range or exact version of Python or PyPy to use, using SemVer's version range syntax. Reads from .python-version if unset. # Version range or exact version of Python or PyPy to use, using SemVer's version range syntax. Reads from .python-version if unset.
python-version: 3.8 python-version: 3.8
- name: 准备
shell: pwsh
run: |
cd ica-rs
- name: Run tests - name: Run tests
run: cargo test --verbose run: cargo test --verbose
@ -46,4 +41,4 @@ jobs:
with: with:
# ica-rs-{version}-{build-count}.exe # ica-rs-{version}-{build-count}.exe
name: ica-rs-${{ steps.get_version.outputs.value }}-${{ github.run_number }} name: ica-rs-${{ steps.get_version.outputs.value }}-${{ github.run_number }}
path: ica-rs/target/release/ica-rs.exe path: ./target/release/ica-rs.exe

5
.gitignore vendored
View File

@ -6,3 +6,8 @@ config.toml
*.pyc *.pyc
*__pycache__/ *__pycache__/
# Added by cargo
/target

2146
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

9
Cargo.toml Normal file
View File

@ -0,0 +1,9 @@
[workspace]
members = [
"ica-rs"
]
resolver = "2"
[patch.crates-io]
rust_socketio = { git = "https://github.com/shenjackyuanjie/rust-socketio.git", branch = "mult_payload" }
# pyo3 = { git = "https://github.com/PyO3/pyo3.git", branch = "main" }

View File

@ -25,7 +25,3 @@ pyo3-asyncio = { version = "0.20.0", features = ["attributes", "tokio-runtime"]
tracing = "0.1.40" tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["time"] } tracing-subscriber = { version = "0.3.18", features = ["time"] }
[patch.crates-io]
rust_socketio = { git = "https://github.com/shenjackyuanjie/rust-socketio.git", branch = "mult_payload" }
# pyo3 = { git = "https://github.com/PyO3/pyo3.git", branch = "main" }