File: Cargo.toml

package info (click to toggle)
rust-wgpu-types 26.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 572 kB
  • sloc: makefile: 2
file content (106 lines) | stat: -rw-r--r-- 2,159 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.82.0"
name = "wgpu-types"
version = "26.0.0"
authors = ["gfx-rs developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common types and utilities for wgpu, the cross-platform, safe, pure-rust graphics API"
homepage = "https://wgpu.rs/"
readme = false
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/gfx-rs/wgpu"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-apple-darwin",
    "x86_64-pc-windows-msvc",
    "wasm32-unknown-unknown",
]

[lib]
name = "wgpu_types"
path = "src/lib.rs"

[dependencies.bitflags]
version = "2.9"
features = ["serde"]

[dependencies.bytemuck]
version = "1.21"
features = [
    "extern_crate_alloc",
    "min_const_generics",
    "derive",
]

[dependencies.log]
version = "0.4.21"

[dependencies.serde]
version = "1.0.219"
features = [
    "alloc",
    "derive",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.3"
optional = true
default-features = false

[dev-dependencies.serde]
version = "1.0.219"
features = ["derive"]
default-features = false

[dev-dependencies.serde_json]
version = "1.0.118"

[features]
counters = []
default = ["std"]
fragile-send-sync-non-atomic-wasm = []
serde = [
    "dep:serde",
    "bitflags/serde",
]
std = [
    "thiserror/std",
]
strict_asserts = []
trace = ["std"]

[lints.clippy]
alloc_instead_of_core = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0