File: 1002_disable_examples.patch

package info (click to toggle)
rust-axum 0.7.9-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,992 kB
  • sloc: javascript: 26; makefile: 21; sql: 6; sh: 1
file content (23 lines) | stat: -rw-r--r-- 927 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: disable examples to allow per-feature testing
 The directory <examples/> is collection of complete crates, not tests.
 This means they cannot be omitted by use of required-features;
 they straight off fail to build when required features are unavailable.
 .
 Theoretically, we could annotate each of them with required features,
 and run them when features are satisfied.
 But that's too much busy work.
 For now, just disable all of them.
Author: Blair Noctis <ncts@debian.org>
Forwarded: not-needed
Last-Update: 2025-03-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,5 +1,5 @@
 [workspace]
-members = ["axum", "axum-*", "examples/*"]
+members = ["axum", "axum-*"] #, "examples/*"]
 # Only check / build main crates by default (check all with `--workspace`)
 default-members = ["axum", "axum-*"]
 # Example has been deleted, but README.md remains