7 Commits
Author SHA1 Message Date
phoenixandphoenix 936f07ad01 Updated serde and serde_json (#1)
Reviewed-on: #1
Co-authored-by: phoenix <kundeng94@gmail.com>
Co-committed-by: phoenix <kundeng94@gmail.com>
2025-02-10 02:23:36 +00:00
phoenix 156ab957fd Update .github/workflows/rust.yaml 2025-02-03 00:32:53 +00:00
phoenix ef6eba61a7 Update .github/workflows/rust.yaml 2025-02-03 00:32:31 +00:00
phoenix 59a5e1f678 Update .github/workflows/rust.yaml 2025-02-03 00:31:44 +00:00
phoenix e240276db7 Update .github/workflows/rust.yaml 2025-02-03 00:31:23 +00:00
phoenix c4f27e924d Update .github/workflows/rust.yaml 2025-02-03 00:29:11 +00:00
phoenix 42fc92925d Add .github/workflows/rust.yaml 2025-02-03 00:27:12 +00:00
2 changed files with 39 additions and 2 deletions
+37
View File
@@ -0,0 +1,37 @@
name: Rust
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
env:
# Customize the profile here (e.g., release, debug)
PROFILE: release
jobs:
build:
runs-on: ubuntu-latest # Only target ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --release # Or --debug, depending on the env.PROFILE
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --release # Or --debug, depending on the env.PROFILE
+2 -2
View File
@@ -6,5 +6,5 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.117"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.138"