ci: improve workflows (#148)

This commit is contained in:
Daniëlle Huisman 2025-08-25 20:43:30 +02:00 committed by GitHub
parent 7233a99020
commit ddf713f828
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 127 additions and 322 deletions

View file

@ -9,10 +9,45 @@ on:
permissions: permissions:
contents: read contents: read
env:
RUSTFLAGS: '-Dwarnings'
jobs: jobs:
lint:
name: Lint
runs-on: ubuntu-latest
env:
RUSTFLAGS: '-Dwarnings'
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy, rustfmt
target: wasm32-unknown-unknown
- name: Install Cargo Binary Install
uses: cargo-bins/cargo-binstall@main
- name: Install crates
run: cargo binstall -y --force cargo-deny cargo-machete cargo-sort
- name: Lint
run: cargo clippy --all-features --locked
- name: Check dependencies
run: cargo deny check
- name: Check unused dependencies
run: cargo machete
- name: Check manifest formatting
run: cargo sort --workspace --check
- name: Check formatting
run: cargo fmt --all --check
test: test:
name: Test name: Test
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -27,11 +62,5 @@ jobs:
components: clippy, rustfmt components: clippy, rustfmt
target: wasm32-unknown-unknown target: wasm32-unknown-unknown
- name: Check formatting
run: cargo fmt --all --check
- name: Lint
run: cargo clippy --all-features --locked
- name: Test - name: Test
run: cargo test --all-features --locked --release run: cargo test --all-features --locked --release

View file

@ -34,7 +34,6 @@ jobs:
- name: Set up Rust toolchain - name: Set up Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@v1
with: with:
components: clippy, rustfmt
target: wasm32-unknown-unknown target: wasm32-unknown-unknown
- name: Install Cargo Binary Install - name: Install Cargo Binary Install

View file

@ -23,7 +23,6 @@ jobs:
- name: Set up Rust toolchain - name: Set up Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@v1
with: with:
components: clippy, rustfmt
target: wasm32-unknown-unknown target: wasm32-unknown-unknown
- name: Install Cargo Binary Install - name: Install Cargo Binary Install
@ -49,7 +48,6 @@ jobs:
- name: Set up Rust toolchain - name: Set up Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@v1
with: with:
components: clippy, rustfmt
target: wasm32-unknown-unknown target: wasm32-unknown-unknown
- name: Install Cargo Binary Install - name: Install Cargo Binary Install
@ -59,7 +57,7 @@ jobs:
run: cargo binstall --force -y mdbook mdbook-tabs mdbook-trunk trunk run: cargo binstall --force -y mdbook mdbook-tabs mdbook-trunk trunk
- name: Install Node.js dependencies - name: Install Node.js dependencies
run: npm install run: npm ci
- name: Build Book - name: Build Book
run: mdbook build run: mdbook build

View file

@ -1,14 +1,39 @@
repos: repos:
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
- id: clippy
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0 rev: v3.1.0
hooks: hooks:
- id: prettier - id: prettier
language: node language: node
additional_dependencies: additional_dependencies:
- prettier@^3.5.3 - prettier@^3.6.2
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
- id: clippy
- repo: https://github.com/EmbarkStudios/cargo-deny
rev: 0.18.4
hooks:
- id: cargo-deny
# - repo: https://github.com/bnjbvr/cargo-machete
# rev: ba1bcd4
# hooks:
# - id: cargo-machete
- repo: local
hooks:
- id: cargo-machete
name: cargo-machete
language: rust
entry: cargo machete
types: [file, toml]
files: Cargo\.(toml|lock)
pass_filenames: false
- repo: https://github.com/DevinR528/cargo-sort
rev: v2.0.1
hooks:
- id: cargo-sort
args: ['--workspace']

View file

@ -2,6 +2,5 @@
"bracketSpacing": false, "bracketSpacing": false,
"printWidth": 120, "printWidth": 120,
"singleQuote": true, "singleQuote": true,
"tabWidth": 4, "tabWidth": 4
"trailingComma": "none"
} }

279
Cargo.lock generated
View file

@ -120,18 +120,6 @@ version = "1.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457"
[[package]]
name = "arrayref"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb"
[[package]]
name = "arrayvec"
version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
[[package]] [[package]]
name = "async-lock" name = "async-lock"
version = "3.4.0" version = "3.4.0"
@ -259,12 +247,6 @@ version = "3.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
[[package]]
name = "bytemuck"
version = "1.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c76a5792e44e4abe34d3abf15636779261d45a7450612059293d1d2cfc63422"
[[package]] [[package]]
name = "byteorder" name = "byteorder"
version = "1.5.0" version = "1.5.0"
@ -494,15 +476,6 @@ version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]]
name = "core_maths"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77745e017f5edba1a9c1d854f6f3a52dac8a12dd5af5d2f54aecf61e43d80d30"
dependencies = [
"libm",
]
[[package]] [[package]]
name = "cpufeatures" name = "cpufeatures"
version = "0.2.17" version = "0.2.17"
@ -512,15 +485,6 @@ dependencies = [
"libc", "libc",
] ]
[[package]]
name = "crc32fast"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
dependencies = [
"cfg-if",
]
[[package]] [[package]]
name = "crossbeam-utils" name = "crossbeam-utils"
version = "0.8.21" version = "0.8.21"
@ -610,12 +574,6 @@ version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476" checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476"
[[package]]
name = "data-url"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c297a1c74b71ae29df00c3e22dd9534821d60eb9af5a0192823fa2acea70c2a"
[[package]] [[package]]
name = "deranged" name = "deranged"
version = "0.4.0" version = "0.4.0"
@ -1122,51 +1080,12 @@ version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
[[package]]
name = "flate2"
version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d"
dependencies = [
"crc32fast",
"miniz_oxide",
]
[[package]]
name = "float-cmp"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4"
[[package]] [[package]]
name = "fnv" name = "fnv"
version = "1.0.7" version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
[[package]]
name = "fontconfig-parser"
version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbc773e24e02d4ddd8395fd30dc147524273a83e54e0f312d986ea30de5f5646"
dependencies = [
"roxmltree",
]
[[package]]
name = "fontdb"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "457e789b3d1202543297a350643cf459f836cade38934e7a4cf6a39e7cde2905"
dependencies = [
"fontconfig-parser",
"log",
"memmap2",
"slotmap",
"tinyvec",
"ttf-parser",
]
[[package]] [[package]]
name = "form_urlencoded" name = "form_urlencoded"
version = "1.2.1" version = "1.2.1"
@ -2024,12 +1943,6 @@ dependencies = [
"icu_properties", "icu_properties",
] ]
[[package]]
name = "imagesize"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "edcd27d72f2f071c64249075f42e205ff93c9a4c5f6c6da53e79ed9f9832c285"
[[package]] [[package]]
name = "implicit-clone" name = "implicit-clone"
version = "0.4.9" version = "0.4.9"
@ -2176,16 +2089,6 @@ dependencies = [
"bitflags", "bitflags",
] ]
[[package]]
name = "kurbo"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1077d333efea6170d9ccb96d3c3026f300ca0773da4938cc4c811daa6df68b0c"
dependencies = [
"arrayvec",
"smallvec",
]
[[package]] [[package]]
name = "lazy-js-bundle" name = "lazy-js-bundle"
version = "0.6.2" version = "0.6.2"
@ -2347,12 +2250,6 @@ dependencies = [
"pkg-config", "pkg-config",
] ]
[[package]]
name = "libm"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de"
[[package]] [[package]]
name = "libssh2-sys" name = "libssh2-sys"
version = "0.3.1" version = "0.3.1"
@ -2538,15 +2435,6 @@ version = "2.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0" checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
[[package]]
name = "memmap2"
version = "0.9.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "483758ad303d734cec05e5c12b41d7e93e6a6390c5e9dae6bdeb7c1259012d28"
dependencies = [
"libc",
]
[[package]] [[package]]
name = "miniz_oxide" name = "miniz_oxide"
version = "0.8.9" version = "0.8.9"
@ -2769,12 +2657,6 @@ version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]]
name = "pico-args"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315"
[[package]] [[package]]
name = "pin-project" name = "pin-project"
version = "1.1.10" version = "1.1.10"
@ -3264,24 +3146,6 @@ version = "1.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d" checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
[[package]]
name = "rustybuzz"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd3c7c96f8a08ee34eff8857b11b49b07d71d1c3f4e88f8a88d4c9e9f90b1702"
dependencies = [
"bitflags",
"bytemuck",
"core_maths",
"log",
"smallvec",
"ttf-parser",
"unicode-bidi-mirroring",
"unicode-ccc",
"unicode-properties",
"unicode-script",
]
[[package]] [[package]]
name = "ryu" name = "ryu"
version = "1.0.20" version = "1.0.20"
@ -3332,7 +3196,6 @@ dependencies = [
"syn 2.0.106", "syn 2.0.106",
"tempfile", "tempfile",
"tokio", "tokio",
"usvg",
] ]
[[package]] [[package]]
@ -3657,26 +3520,11 @@ dependencies = [
"time", "time",
] ]
[[package]]
name = "simplecss"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a9c6883ca9c3c7c90e888de77b7a5c849c779d25d74a1269b0218b14e8b136c"
dependencies = [
"log",
]
[[package]]
name = "siphasher"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
[[package]] [[package]]
name = "slab" name = "slab"
version = "0.4.10" version = "0.4.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04dc19736151f35336d325007ac991178d504a119863a2fcb3758cdb5e52c50d" checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589"
[[package]] [[package]]
name = "sledgehammer_bindgen" name = "sledgehammer_bindgen"
@ -3770,31 +3618,12 @@ version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "strict-num"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6637bab7722d379c8b41ba849228d680cc12d0a45ba1fa2b48f2a30577a06731"
dependencies = [
"float-cmp",
]
[[package]] [[package]]
name = "subtle" name = "subtle"
version = "2.6.1" version = "2.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
[[package]]
name = "svgtypes"
version = "0.15.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68c7541fff44b35860c1a7a47a7cadf3e4a304c457b58f9870d9706ece028afc"
dependencies = [
"kurbo",
"siphasher",
]
[[package]] [[package]]
name = "syn" name = "syn"
version = "1.0.109" version = "1.0.109"
@ -3981,17 +3810,6 @@ dependencies = [
"time-core", "time-core",
] ]
[[package]]
name = "tiny-skia-path"
version = "0.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c9e7fc0c2e86a30b117d0462aa261b72b7a99b7ebd7deb3a14ceda95c5bdc93"
dependencies = [
"arrayref",
"bytemuck",
"strict-num",
]
[[package]] [[package]]
name = "tinystr" name = "tinystr"
version = "0.8.1" version = "0.8.1"
@ -4002,21 +3820,6 @@ dependencies = [
"zerovec", "zerovec",
] ]
[[package]]
name = "tinyvec"
version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71"
dependencies = [
"tinyvec_macros",
]
[[package]]
name = "tinyvec_macros"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]] [[package]]
name = "tokio" name = "tokio"
version = "1.47.1" version = "1.47.1"
@ -4238,15 +4041,6 @@ version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
[[package]]
name = "ttf-parser"
version = "0.25.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2df906b07856748fa3f6e0ad0cbaa047052d4a7dd609e231c4f72cee8c36f31"
dependencies = [
"core_maths",
]
[[package]] [[package]]
name = "tungstenite" name = "tungstenite"
version = "0.23.0" version = "0.23.0"
@ -4291,54 +4085,18 @@ version = "1.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f"
[[package]]
name = "unicode-bidi"
version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5"
[[package]]
name = "unicode-bidi-mirroring"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5dfa6e8c60bb66d49db113e0125ee8711b7647b5579dc7f5f19c42357ed039fe"
[[package]]
name = "unicode-ccc"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce61d488bcdc9bc8b5d1772c404828b17fc481c0a582b5581e95fb233aef503e"
[[package]] [[package]]
name = "unicode-ident" name = "unicode-ident"
version = "1.0.18" version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
[[package]]
name = "unicode-properties"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0"
[[package]]
name = "unicode-script"
version = "0.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9fb421b350c9aff471779e262955939f565ec18b86c15364e6bdf0d662ca7c1f"
[[package]] [[package]]
name = "unicode-segmentation" name = "unicode-segmentation"
version = "1.12.0" version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
[[package]]
name = "unicode-vo"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1d386ff53b415b7fe27b50bb44679e2cc4660272694b7b6f3326d8480823a94"
[[package]] [[package]]
name = "unicode-xid" name = "unicode-xid"
version = "0.2.6" version = "0.2.6"
@ -4363,33 +4121,6 @@ dependencies = [
"serde", "serde",
] ]
[[package]]
name = "usvg"
version = "0.45.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "80be9b06fbae3b8b303400ab20778c80bbaf338f563afe567cf3c9eea17b47ef"
dependencies = [
"base64",
"data-url",
"flate2",
"fontdb",
"imagesize",
"kurbo",
"log",
"pico-args",
"roxmltree",
"rustybuzz",
"simplecss",
"siphasher",
"strict-num",
"svgtypes",
"tiny-skia-path",
"unicode-bidi",
"unicode-script",
"unicode-vo",
"xmlwriter",
]
[[package]] [[package]]
name = "utf-8" name = "utf-8"
version = "0.7.6" version = "0.7.6"
@ -4806,12 +4537,6 @@ version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb" checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb"
[[package]]
name = "xmlwriter"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec7a2a501ed189703dba8b08142f057e887dfc4b2cc4db2d343ac6376ba3e0b9"
[[package]] [[package]]
name = "xxhash-rust" name = "xxhash-rust"
version = "0.8.15" version = "0.8.15"

View file

@ -10,8 +10,8 @@ repository = "https://github.com/RustForWeb/lucide"
version = "2.31.0" version = "2.31.0"
[workspace.dependencies] [workspace.dependencies]
console_log = "1.0.0"
console_error_panic_hook = "0.1.7" console_error_panic_hook = "0.1.7"
console_log = "1.0.0"
dioxus = "0.6.0" dioxus = "0.6.0"
leptos = "0.8.0" leptos = "0.8.0"
log = "0.4.22" log = "0.4.22"

View file

@ -9,12 +9,12 @@ license.workspace = true
repository.workspace = true repository.workspace = true
version.workspace = true version.workspace = true
[features]
icons = ["dep:lucide-dioxus", "lucide-dioxus/all-icons"]
[dependencies] [dependencies]
console_error_panic_hook.workspace = true console_error_panic_hook.workspace = true
console_log.workspace = true console_log.workspace = true
dioxus = { workspace = true, features = ["web"] } dioxus = { workspace = true, features = ["web"] }
log.workspace = true log.workspace = true
lucide-dioxus = { path = "../../packages/dioxus", optional = true } lucide-dioxus = { path = "../../packages/dioxus", optional = true }
[features]
icons = ["dep:lucide-dioxus", "lucide-dioxus/all-icons"]

View file

@ -9,13 +9,13 @@ license.workspace = true
repository.workspace = true repository.workspace = true
version.workspace = true version.workspace = true
[features]
default = []
icons = ["dep:lucide-leptos", "lucide-leptos/all-icons"]
[dependencies] [dependencies]
console_error_panic_hook.workspace = true console_error_panic_hook.workspace = true
console_log.workspace = true console_log.workspace = true
leptos = { workspace = true, features = ["csr"] } leptos = { workspace = true, features = ["csr"] }
log.workspace = true log.workspace = true
lucide-leptos = { path = "../../packages/leptos", optional = true } lucide-leptos = { path = "../../packages/leptos", optional = true }
[features]
default = []
icons = ["dep:lucide-leptos", "lucide-leptos/all-icons"]

View file

@ -9,13 +9,13 @@ license.workspace = true
repository.workspace = true repository.workspace = true
version.workspace = true version.workspace = true
[features]
default = []
icons = ["dep:lucide-yew", "lucide-yew/all-icons"]
[dependencies] [dependencies]
console_error_panic_hook.workspace = true console_error_panic_hook.workspace = true
console_log.workspace = true console_log.workspace = true
log.workspace = true log.workspace = true
lucide-yew = { path = "../../packages/yew", optional = true } lucide-yew = { path = "../../packages/yew", optional = true }
yew = { workspace = true, features = ["csr"] } yew = { workspace = true, features = ["csr"] }
[features]
default = []
icons = ["dep:lucide-yew", "lucide-yew/all-icons"]

31
deny.toml Normal file
View file

@ -0,0 +1,31 @@
[graph]
all-features = true
[advisories]
ignore = [
{ id = "RUSTSEC-2024-0370", reason = "No safe upgrade is available `proc-macro-error`." },
{ id = "RUSTSEC-2024-0436", reason = "No maintained version available for `paste`." },
]
[bans]
allow-wildcard-paths = true
multiple-versions = "allow"
wildcards = "deny"
[licenses]
allow = [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"CC0-1.0",
"ISC",
"MIT",
"Unicode-3.0",
"Zlib",
]
confidence-threshold = 1.0
[sources]
unknown-git = "deny"
unknown-registry = "deny"

View file

@ -9,9 +9,6 @@ license.workspace = true
repository.workspace = true repository.workspace = true
version.workspace = true version.workspace = true
[dependencies]
dioxus.workspace = true
[features] [features]
default = [] default = []
accessibility = [] accessibility = []
@ -102,3 +99,6 @@ all-icons = [
"travel", "travel",
"weather", "weather",
] ]
[dependencies]
dioxus.workspace = true

View file

@ -9,9 +9,6 @@ license.workspace = true
repository.workspace = true repository.workspace = true
version.workspace = true version.workspace = true
[dependencies]
leptos.workspace = true
[features] [features]
default = [] default = []
accessibility = [] accessibility = []
@ -102,3 +99,6 @@ all-icons = [
"travel", "travel",
"weather", "weather",
] ]
[dependencies]
leptos.workspace = true

View file

@ -9,9 +9,6 @@ license.workspace = true
repository.workspace = true repository.workspace = true
version.workspace = true version.workspace = true
[dependencies]
yew.workspace = true
[features] [features]
default = [] default = []
accessibility = [] accessibility = []
@ -102,3 +99,6 @@ all-icons = [
"travel", "travel",
"weather", "weather",
] ]
[dependencies]
yew.workspace = true

View file

@ -23,7 +23,6 @@ roxmltree = "0.20.0"
semver = "1.0.26" semver = "1.0.26"
serde = { version = "1.0.219", features = ["derive"] } serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140" serde_json = "1.0.140"
syn = "2.0.89"
tempfile = "3.14.0" tempfile = "3.14.0"
tokio = { version = "1.37.0", features = ["full"] } tokio = { version = "1.37.0", features = ["full"] }
syn = "2.0.89"
usvg = "0.45.0"