Skip to content

Commit

Permalink
use wgpu for crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
mycrl committed Nov 2, 2024
1 parent 985606a commit a4f8ce6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ void (async () => {

/* download ffmpeg librarys for windows */
if (process.platform == "win32" || process.platform == "linux") {
const name = `ffmpeg-n7.1-latest-${process.platform == "win32" ? "win64" : "linux64"}-gpl-shared-7.1`;
const name = `ffmpeg-n7.1-latest-${
process.platform == "win32" ? "win64" : "linux64"
}-gpl-shared-7.1`;
const baseUri = "https://github.com/BtbN/FFmpeg-Builds/releases/download/latest";

if (!fs.existsSync("./target/ffmpeg")) {
Expand Down Expand Up @@ -115,8 +117,8 @@ void (async () => {
});

for (const item of [
["./README.md", "./build/README.md"],
["./LICENSE.txt", "./build/LICENSE.txt"],
["./README.md", "./README.md"],
["./LICENSE", "./LICENSE"],

/* examples */
["./examples/cpp/src", "./build/examples/cpp/src"],
Expand Down
2 changes: 1 addition & 1 deletion graphics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
pollster = "0.3.0"
thiserror = "1.0.63"
smallvec = "1.13.2"
wgpu = { git = "https://github.com/gfx-rs/wgpu", rev = "8e787eb70a98c260f44b129128037d9a28d2c9ae" }
wgpu = "23"
bytemuck = { version = "1.17.1", features = ["derive"] }
mirror-common = { path = "../common", version = "0.1" }
mirror-resample = { path = "../resample", version = "0.1" }

0 comments on commit a4f8ce6

Please sign in to comment.