Skip to content

Commit

Permalink
Merge pull request #340 from specta-rs/changes-less
Browse files Browse the repository at this point in the history
Changes less
  • Loading branch information
oscartbeaumont authored Feb 13, 2025
2 parents 5758221 + 6f29fba commit 0e8ff1f
Show file tree
Hide file tree
Showing 81 changed files with 5,719 additions and 5,121 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install librust-atk-dev libwebkit2gtk-4.0-dev build-essential libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
- name: Install Rust toolchain
run: rustup toolchain install stable --profile minimal
- name: Rust cache
uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --all-features
- name: Run tests
run: cargo test --all-features
- uses: actions/checkout@v4
- name: Setup
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install libgtk-3-dev webkit2gtk-4.1 libayatana-appindicator3-dev
- name: Install Rust toolchain
run: rustup toolchain install stable --profile minimal
- name: Rust cache
uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --all-features
- name: Run tests
run: cargo test --all-features

clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
run: sudo apt-get update && sudo apt-get install librust-atk-dev libwebkit2gtk-4.0-dev build-essential libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
run: sudo apt-get update && sudo apt-get install libgtk-3-dev webkit2gtk-4.1 libayatana-appindicator3-dev
- name: Install Rust toolchain
run: rustup toolchain install stable --profile minimal --component clippy
- name: Rust cache
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["specta", "specta-*", "tests", "examples"]
members = ["specta", "specta-*", "tests"]
resolver = "2"

[workspace.lints.rust]
Expand Down
12 changes: 0 additions & 12 deletions examples/Cargo.toml

This file was deleted.

63 changes: 0 additions & 63 deletions examples/examples/basic.rs

This file was deleted.

61 changes: 0 additions & 61 deletions examples/examples/datatype.rs

This file was deleted.

31 changes: 0 additions & 31 deletions examples/examples/export.rs

This file was deleted.

27 changes: 0 additions & 27 deletions examples/examples/type_collection.rs

This file was deleted.

1 change: 0 additions & 1 deletion examples/src/lib.rs

This file was deleted.

2 changes: 1 addition & 1 deletion specta-datatype-from/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//! - [`String`] and [`&str`] will become [`LiteralType::String`]
//!
//! # Example
//! ```rust
//! ```ignore
//! use specta::{datatype::LiteralType, ts, DataType, DataTypeFrom, StructType, TupleType};
//!
//! #[derive(Clone, DataTypeFrom)]
Expand Down
Loading

0 comments on commit 0e8ff1f

Please sign in to comment.