Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing wellen to a cargo workspace #17

Merged
merged 4 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
- nightly

steps:
- name: Update Rust to ${{ matrix.toolchain }}
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Update Rust to ${{ matrix.toolchain }}
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

semver:
name: Check Semantic Versioning
Expand All @@ -44,9 +44,9 @@ jobs:
with:
tool: cargo-msrv
- name: Check MSRV
working-directory: wellen
run: cargo msrv verify


examples:
name: Try Examples
runs-on: ubuntu-latest
Expand All @@ -64,6 +64,7 @@ jobs:
- name: Build
run: cargo build --verbose --examples --release
- name: load_signals
working-directory: wellen
run: cargo run --release --example load_signals -- inputs/xilinx_isim/test1.vcd

serialization:
Expand Down
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[workspace]
resolver = "2"
members = ["wellen"]
default-members = ["wellen"]

[workspace.package]
version = "0.9.10"
Expand All @@ -15,7 +16,8 @@ authors = ["Kevin Laeufer <[email protected]>"]
description = "Fast VCD and FST library for waveform viewers written in Rust."
repository = "https://github.com/ekiwi/wellen"
license = "BSD-3-Clause"
default-members = ["wellen"]


include = ["Cargo.toml", "LICENSE", "src/", "benches/"]
keywords = ["vcd", "fst", "waveform", "wavedump"]

Expand Down
3 changes: 1 addition & 2 deletions wellen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
name = "wellen"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
rust-version = "1.73.0"
authors.workspace = true
description.workspace = true
repository.workspace = true
license.workspace = true
default-members.workspace = true
include.workspace = true
keywords.workspace = true

Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions wellen/inputs