-
-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (43 loc) · 1.74 KB
/
Cargo.toml
File metadata and controls
50 lines (43 loc) · 1.74 KB
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
[workspace]
resolver = "3"
members = ["packages/*"]
[workspace.package]
version = "0.4.1"
edition = "2024"
repository = "https://github.com/ComunidadAylas/PackSquash"
license = "AGPL-3.0-or-later"
publish = false
[workspace.lints.clippy]
# pedantic = "warn" # TODO too pedantic for now, fix the warnings and re-enable this sooner than later
cargo = { level = "warn", priority = -1 }
multiple_crate_versions = "allow" # Introduces much noise, not better than cargo deny
[workspace.lints.rust]
missing_docs = "deny"
unsafe_code = "deny"
[workspace.lints.rustdoc]
broken_intra_doc_links = "deny"
invalid_html_tags = "deny"
private_intra_doc_links = "deny"
[patch.crates-io]
# Use our fork of glsl-lang that allows it to parse #moj_import directives
glsl-lang = { git = "https://github.com/ComunidadAylas/glsl-lang" }
glsl-lang-lexer = { git = "https://github.com/ComunidadAylas/glsl-lang" }
glsl-lang-pp = { git = "https://github.com/ComunidadAylas/glsl-lang" }
glsl-lang-types = { git = "https://github.com/ComunidadAylas/glsl-lang" }
# Use our fork of mmap, pulled by development dependencies for benchmarking, to fix its
# dependency on unmaintained crates and reduce duplicate dependency versions. Some of
# the changes were authored by jbreitbart.
# Related PR: https://github.com/rbranson/rust-mmap/pull/13
mmap = { git = "https://github.com/ComunidadAylas/rust-mmap" }
# Use a newer spng commit with our PR to add a high-level API for customizing the decoder chunk CRC
# mismatch action merged. Related PR: https://github.com/aloucks/spng-rs/pull/16
spng = { git = "https://github.com/aloucks/spng-rs", rev = "d3f69ff" }
[profile.bench]
inherits = "release"
debug = true
strip = "none"
[profile.release]
opt-level = 3
strip = "symbols"
lto = "fat"
codegen-units = 1