Skip to content

Commit

Permalink
Merge pull request #20 from maaku/update-deps
Browse files Browse the repository at this point in the history
Update all dependencies to latest version (notably wgpu -> 0.20)
  • Loading branch information
wtholliday authored Jul 9, 2024
2 parents 90c42b5 + 85b249a commit eb4e1f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
wgpu = "0.18.0"
wgpu = "0.20.0"
euclid = "0.22.7"
fontdue = "0.8.0"
fontdue = "0.9.0"
rect_packer = "0.2.1"

[dev-dependencies]
png = "0.17.6"
futures = "0.3"
futures-intrusive = "0.5"
svg = "0.14.0"
svg = "0.17.0"
rand = "0.8.5"
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,13 @@ impl Vger {
vertex: wgpu::VertexState {
module: &shader,
entry_point: "vs_main",
compilation_options: wgpu::PipelineCompilationOptions::default(),
buffers: &[],
},
fragment: Some(wgpu::FragmentState {
module: &shader,
entry_point: "fs_main",
compilation_options: wgpu::PipelineCompilationOptions::default(),
targets: &[Some(wgpu::ColorTargetState {
format: texture_format,
blend: Some(wgpu::BlendState {
Expand Down
4 changes: 2 additions & 2 deletions tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ pub async fn setup() -> (wgpu::Device, wgpu::Queue) {
.request_device(
&wgpu::DeviceDescriptor {
label: None,
features: wgpu::Features::default(),
limits: wgpu::Limits::default(),
required_features: wgpu::Features::default(),
required_limits: wgpu::Limits::default(),
},
trace_dir.ok().as_ref().map(std::path::Path::new),
)
Expand Down

0 comments on commit eb4e1f6

Please sign in to comment.