libredr_common/libredr/target/debug/build/libredr-common-a9a596abe72a94f4/out/
shadow.rs1#[doc=r#"
8The name of the Git branch that this project was built from.
9This constant will be empty if the branch cannot be determined."#]
10#[allow(dead_code)]
11#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
12pub const BRANCH :&str = r#"main"#;
13
14#[doc=r#"
15Operating system and architecture on which the project was build.
16The format of this variable is always `os-arch`,
17where `os` is the operating system name as returned by [`std::env::consts::OS`],
18and `arch` is the computer architecture as returned by [`std::env::consts::ARCH`]."#]
19#[allow(dead_code)]
20#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
21pub const BUILD_OS :&str = r#"linux-x86_64"#;
22
23#[doc=r#"
24The debug configuration with which the project was built.
25Note that this is not the Rust channel, but either `debug` or `release`, depending on whether debug assertions were enabled in the build or not. "#]
26#[allow(dead_code)]
27#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
28pub const BUILD_RUST_CHANNEL :&str = r#"debug"#;
29
30#[doc=r#"
31The [target](https://doc.rust-lang.org/rustc/targets/index.html) for this build.
32This is possibly distinct from the host target during build, in which case this project build was created via cross-compilation."#]
33#[allow(dead_code)]
34#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
35pub const BUILD_TARGET :&str = r#"x86_64-unknown-linux-gnu"#;
36
37#[doc=r#"
38The architecture of the target for this build. This is the "architecture" part of the [`BUILD_TARGET`] constant."#]
39#[allow(dead_code)]
40#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
41pub const BUILD_TARGET_ARCH :&str = r#"x86_64"#;
42
43#[doc=r#"
44The project build time, formatted in modified ISO 8601 format (`YYYY-MM-DD HH-MM ±hh-mm` where hh-mm is the offset from UTC)."#]
45#[allow(dead_code)]
46#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
47pub const BUILD_TIME :&str = r#"2025-06-24 16:20:41 +00:00"#;
48
49#[doc=r#"
50The project build time, formatted according to [RFC 2822](https://datatracker.ietf.org/doc/html/rfc2822#section-3.3) (e.g. HTTP Headers)."#]
51#[allow(dead_code)]
52#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
53pub const BUILD_TIME_2822 :&str = r#"Tue, 24 Jun 2025 16:20:41 +0000"#;
54
55#[doc=r#"
56The project build time, formatted according to [RFC 3339 and ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6)."#]
57#[allow(dead_code)]
58#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
59pub const BUILD_TIME_3339 :&str = r#"2025-06-24T16:20:41Z"#;
60
61#[doc=r#"
62The directory of the Cargo.toml manifest file of the project during build.
63Note that this variable will contain a full local file system path, and will therefore contain sensitive information and not be reproducible."#]
64#[allow(dead_code)]
65#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
66pub const CARGO_MANIFEST_DIR :&str = r#"/libredr/common"#;
67
68#[doc=r#"
69The dependency tree of the project, as output by `cargo tree`.
70Note that this variable may contain local file system paths for path dependencies, and may therefore contain sensitive information and not be reproducible."#]
71#[allow(dead_code)]
72#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
73pub const CARGO_TREE :&str = r#"
74├── anyhow v1.0.98
75│ └── backtrace v0.3.75
76│ ├── addr2line v0.24.2
77│ │ └── gimli v0.31.1
78│ ├── cfg-if v1.0.1
79│ ├── libc v0.2.174
80│ ├── miniz_oxide v0.8.9
81│ │ └── adler2 v2.0.1
82│ ├── object v0.36.7
83│ │ └── memchr v2.7.5
84│ └── rustc-demangle v0.1.25
85├── blake3 v1.8.2
86│ ├── arrayref v0.3.9
87│ ├── arrayvec v0.7.6
88│ ├── cfg-if v1.0.1
89│ └── constant_time_eq v0.3.1
90│ [build-dependencies]
91│ └── cc v1.2.27
92│ ├── jobserver v0.1.33
93│ │ └── libc v0.2.174
94│ ├── libc v0.2.174
95│ └── shlex v1.3.0
96├── chrono v0.4.41
97│ ├── iana-time-zone v0.1.63
98│ └── num-traits v0.2.19
99│ [build-dependencies]
100│ └── autocfg v1.5.0
101├── configparser v3.1.0
102├── const_format v0.2.34
103│ └── const_format_proc_macros v0.2.34 (proc-macro)
104│ ├── proc-macro2 v1.0.95
105│ │ └── unicode-ident v1.0.18
106│ ├── quote v1.0.40
107│ │ └── proc-macro2 v1.0.95 (*)
108│ └── unicode-xid v0.2.6
109├── hashbrown v0.15.4
110│ ├── allocator-api2 v0.2.21
111│ ├── equivalent v1.0.2
112│ ├── foldhash v0.1.5
113│ └── serde v1.0.219
114│ └── serde_derive v1.0.219 (proc-macro)
115│ ├── proc-macro2 v1.0.95 (*)
116│ ├── quote v1.0.40 (*)
117│ └── syn v2.0.104
118│ ├── proc-macro2 v1.0.95 (*)
119│ ├── quote v1.0.40 (*)
120│ └── unicode-ident v1.0.18
121├── nalgebra v0.33.2
122│ ├── approx v0.5.1
123│ │ └── num-traits v0.2.19 (*)
124│ ├── matrixmultiply v0.3.10
125│ │ └── rawpointer v0.2.1
126│ │ [build-dependencies]
127│ │ └── autocfg v1.5.0
128│ ├── nalgebra-macros v0.2.2 (proc-macro)
129│ │ ├── proc-macro2 v1.0.95 (*)
130│ │ ├── quote v1.0.40 (*)
131│ │ └── syn v2.0.104 (*)
132│ ├── num-complex v0.4.6
133│ │ └── num-traits v0.2.19 (*)
134│ ├── num-rational v0.4.2
135│ │ ├── num-integer v0.1.46
136│ │ │ └── num-traits v0.2.19 (*)
137│ │ └── num-traits v0.2.19 (*)
138│ ├── num-traits v0.2.19 (*)
139│ ├── simba v0.9.0
140│ │ ├── approx v0.5.1 (*)
141│ │ ├── num-complex v0.4.6 (*)
142│ │ ├── num-traits v0.2.19 (*)
143│ │ ├── paste v1.0.15 (proc-macro)
144│ │ └── wide v0.7.33
145│ │ ├── bytemuck v1.23.1
146│ │ └── safe_arch v0.7.4
147│ │ └── bytemuck v1.23.1
148│ └── typenum v1.18.0
149├── ndarray v0.16.1
150│ ├── matrixmultiply v0.3.10 (*)
151│ ├── num-complex v0.4.6 (*)
152│ ├── num-integer v0.1.46 (*)
153│ ├── num-traits v0.2.19 (*)
154│ ├── rawpointer v0.2.1
155│ └── serde v1.0.219 (*)
156├── postcard v1.1.1
157│ ├── cobs v0.2.3
158│ ├── heapless v0.7.17
159│ │ ├── hash32 v0.2.1
160│ │ │ └── byteorder v1.5.0
161│ │ ├── serde v1.0.219 (*)
162│ │ ├── spin v0.9.8
163│ │ │ └── lock_api v0.4.13
164│ │ │ └── scopeguard v1.2.0
165│ │ │ [build-dependencies]
166│ │ │ └── autocfg v1.5.0
167│ │ └── stable_deref_trait v1.2.0
168│ │ [build-dependencies]
169│ │ └── rustc_version v0.4.1
170│ │ └── semver v1.0.26
171│ └── serde v1.0.219 (*)
172├── serde v1.0.219 (*)
173├── shadow-rs v1.2.0
174│ ├── const_format v0.2.34 (*)
175│ ├── git2 v0.20.2
176│ │ ├── bitflags v2.9.1
177│ │ ├── libc v0.2.174
178│ │ ├── libgit2-sys v0.18.2+1.9.1
179│ │ │ ├── libc v0.2.174
180│ │ │ └── libz-sys v1.1.22
181│ │ │ └── libc v0.2.174
182│ │ │ [build-dependencies]
183│ │ │ ├── cc v1.2.27 (*)
184│ │ │ ├── pkg-config v0.3.32
185│ │ │ └── vcpkg v0.2.15
186│ │ │ [build-dependencies]
187│ │ │ ├── cc v1.2.27 (*)
188│ │ │ └── pkg-config v0.3.32
189│ │ ├── log v0.4.27
190│ │ └── url v2.5.4
191│ │ ├── form_urlencoded v1.2.1
192│ │ │ └── percent-encoding v2.3.1
193│ │ ├── idna v1.0.3
194│ │ │ ├── idna_adapter v1.2.1
195│ │ │ │ ├── icu_normalizer v2.0.0
196│ │ │ │ │ ├── displaydoc v0.2.5 (proc-macro)
197│ │ │ │ │ │ ├── proc-macro2 v1.0.95 (*)
198│ │ │ │ │ │ ├── quote v1.0.40 (*)
199│ │ │ │ │ │ └── syn v2.0.104 (*)
200│ │ │ │ │ ├── icu_collections v2.0.0
201│ │ │ │ │ │ ├── displaydoc v0.2.5 (proc-macro) (*)
202│ │ │ │ │ │ ├── potential_utf v0.1.2
203│ │ │ │ │ │ │ └── zerovec v0.11.2
204│ │ │ │ │ │ │ ├── yoke v0.8.0
205│ │ │ │ │ │ │ │ ├── stable_deref_trait v1.2.0
206│ │ │ │ │ │ │ │ ├── yoke-derive v0.8.0 (proc-macro)
207│ │ │ │ │ │ │ │ │ ├── proc-macro2 v1.0.95 (*)
208│ │ │ │ │ │ │ │ │ ├── quote v1.0.40 (*)
209│ │ │ │ │ │ │ │ │ ├── syn v2.0.104 (*)
210│ │ │ │ │ │ │ │ │ └── synstructure v0.13.2
211│ │ │ │ │ │ │ │ │ ├── proc-macro2 v1.0.95 (*)
212│ │ │ │ │ │ │ │ │ ├── quote v1.0.40 (*)
213│ │ │ │ │ │ │ │ │ └── syn v2.0.104 (*)
214│ │ │ │ │ │ │ │ └── zerofrom v0.1.6
215│ │ │ │ │ │ │ │ └── zerofrom-derive v0.1.6 (proc-macro)
216│ │ │ │ │ │ │ │ ├── proc-macro2 v1.0.95 (*)
217│ │ │ │ │ │ │ │ ├── quote v1.0.40 (*)
218│ │ │ │ │ │ │ │ ├── syn v2.0.104 (*)
219│ │ │ │ │ │ │ │ └── synstructure v0.13.2 (*)
220│ │ │ │ │ │ │ ├── zerofrom v0.1.6 (*)
221│ │ │ │ │ │ │ └── zerovec-derive v0.11.1 (proc-macro)
222│ │ │ │ │ │ │ ├── proc-macro2 v1.0.95 (*)
223│ │ │ │ │ │ │ ├── quote v1.0.40 (*)
224│ │ │ │ │ │ │ └── syn v2.0.104 (*)
225│ │ │ │ │ │ ├── yoke v0.8.0 (*)
226│ │ │ │ │ │ ├── zerofrom v0.1.6 (*)
227│ │ │ │ │ │ └── zerovec v0.11.2 (*)
228│ │ │ │ │ ├── icu_normalizer_data v2.0.0
229│ │ │ │ │ ├── icu_provider v2.0.0
230│ │ │ │ │ │ ├── displaydoc v0.2.5 (proc-macro) (*)
231│ │ │ │ │ │ ├── icu_locale_core v2.0.0
232│ │ │ │ │ │ │ ├── displaydoc v0.2.5 (proc-macro) (*)
233│ │ │ │ │ │ │ ├── litemap v0.8.0
234│ │ │ │ │ │ │ ├── tinystr v0.8.1
235│ │ │ │ │ │ │ │ ├── displaydoc v0.2.5 (proc-macro) (*)
236│ │ │ │ │ │ │ │ └── zerovec v0.11.2 (*)
237│ │ │ │ │ │ │ ├── writeable v0.6.1
238│ │ │ │ │ │ │ └── zerovec v0.11.2 (*)
239│ │ │ │ │ │ ├── stable_deref_trait v1.2.0
240│ │ │ │ │ │ ├── tinystr v0.8.1 (*)
241│ │ │ │ │ │ ├── writeable v0.6.1
242│ │ │ │ │ │ ├── yoke v0.8.0 (*)
243│ │ │ │ │ │ ├── zerofrom v0.1.6 (*)
244│ │ │ │ │ │ ├── zerotrie v0.2.2
245│ │ │ │ │ │ │ ├── displaydoc v0.2.5 (proc-macro) (*)
246│ │ │ │ │ │ │ ├── yoke v0.8.0 (*)
247│ │ │ │ │ │ │ └── zerofrom v0.1.6 (*)
248│ │ │ │ │ │ └── zerovec v0.11.2 (*)
249│ │ │ │ │ ├── smallvec v1.15.1
250│ │ │ │ │ └── zerovec v0.11.2 (*)
251│ │ │ │ └── icu_properties v2.0.1
252│ │ │ │ ├── displaydoc v0.2.5 (proc-macro) (*)
253│ │ │ │ ├── icu_collections v2.0.0 (*)
254│ │ │ │ ├── icu_locale_core v2.0.0 (*)
255│ │ │ │ ├── icu_properties_data v2.0.1
256│ │ │ │ ├── icu_provider v2.0.0 (*)
257│ │ │ │ ├── potential_utf v0.1.2 (*)
258│ │ │ │ ├── zerotrie v0.2.2 (*)
259│ │ │ │ └── zerovec v0.11.2 (*)
260│ │ │ ├── smallvec v1.15.1
261│ │ │ └── utf8_iter v1.0.4
262│ │ └── percent-encoding v2.3.1
263│ ├── is_debug v1.1.0
264│ ├── time v0.3.41
265│ │ ├── deranged v0.4.0
266│ │ │ └── powerfmt v0.2.0
267│ │ ├── itoa v1.0.15
268│ │ ├── libc v0.2.174
269│ │ ├── num-conv v0.1.0
270│ │ ├── num_threads v0.1.7
271│ │ ├── powerfmt v0.2.0
272│ │ └── time-core v0.1.4
273│ └── tzdb v0.7.2
274│ ├── iana-time-zone v0.1.63
275│ ├── tz-rs v0.7.0
276│ └── tzdb_data v0.2.2
277│ └── tz-rs v0.7.0
278├── tobj v4.0.3
279│ └── ahash v0.8.12
280│ ├── cfg-if v1.0.1
281│ ├── getrandom v0.3.3
282│ │ ├── cfg-if v1.0.1
283│ │ └── libc v0.2.174
284│ ├── once_cell v1.21.3
285│ └── zerocopy v0.8.26
286│ [build-dependencies]
287│ └── version_check v0.9.5
288├── tokio v1.45.1
289│ ├── bytes v1.10.1
290│ ├── libc v0.2.174
291│ ├── mio v1.0.4
292│ │ └── libc v0.2.174
293│ ├── parking_lot v0.12.4
294│ │ ├── lock_api v0.4.13 (*)
295│ │ └── parking_lot_core v0.9.11
296│ │ ├── cfg-if v1.0.1
297│ │ ├── libc v0.2.174
298│ │ └── smallvec v1.15.1
299│ ├── pin-project-lite v0.2.16
300│ ├── signal-hook-registry v1.4.5
301│ │ └── libc v0.2.174
302│ ├── socket2 v0.5.10
303│ │ └── libc v0.2.174
304│ └── tokio-macros v2.5.0 (proc-macro)
305│ ├── proc-macro2 v1.0.95 (*)
306│ ├── quote v1.0.40 (*)
307│ └── syn v2.0.104 (*)
308├── tracing v0.1.41
309│ ├── pin-project-lite v0.2.16
310│ ├── tracing-attributes v0.1.30 (proc-macro)
311│ │ ├── proc-macro2 v1.0.95 (*)
312│ │ ├── quote v1.0.40 (*)
313│ │ └── syn v2.0.104 (*)
314│ └── tracing-core v0.1.34
315│ └── once_cell v1.21.3
316└── uuid v1.17.0
317 ├── getrandom v0.3.3 (*)
318 ├── rand v0.9.1
319 │ ├── rand_chacha v0.9.0
320 │ │ ├── ppv-lite86 v0.2.21
321 │ │ │ └── zerocopy v0.8.26
322 │ │ └── rand_core v0.9.3
323 │ │ └── getrandom v0.3.3 (*)
324 │ └── rand_core v0.9.3 (*)
325 ├── serde v1.0.219 (*)
326 └── uuid-macro-internal v1.17.0 (proc-macro)
327 ├── proc-macro2 v1.0.95 (*)
328 ├── quote v1.0.40 (*)
329 └── syn v2.0.104 (*)
330[build-dependencies]
331└── shadow-rs v1.2.0 (*)
332"#;
333
334#[doc=r#"
335The cargo version which which the project was built, as output by `cargo --version`."#]
336#[allow(dead_code)]
337#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
338pub const CARGO_VERSION :&str = r#"cargo 1.87.0 (99624be96 2025-05-06)"#;
339
340#[doc=r#"
341The number of commits since the last Git tag on the branch that this project was built from.
342This value indicates how many commits have been made after the last tag and before the current commit.
343
344If there are no additional commits after the last tag (i.e., the current commit is exactly at a tag),
345this value will be `0`.
346
347This constant will be empty or `0` if the last tag cannot be determined or if there are no commits after it.
348"#]
349#[allow(dead_code)]
350#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
351pub const COMMITS_SINCE_TAG :usize = 6;
352
353#[doc=r#"
354The author of the Git commit that this project was built from.
355
356This constant will be empty if the last commit cannot be determined."#]
357#[allow(dead_code)]
358#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
359pub const COMMIT_AUTHOR :&str = r#"ybh1998"#;
360
361#[doc=r#"The time of the Git commit that this project was built from.
362The time is formatted in modified ISO 8601 format (`YYYY-MM-DD HH-MM ±hh-mm` where hh-mm is the offset from UTC).
363
364This constant will be empty if the last commit cannot be determined."#]
365#[allow(dead_code)]
366#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
367pub const COMMIT_DATE :&str = r#"2025-06-24 06:54:18 +00:00"#;
368
369#[doc=r#"
370The name of the Git branch that this project was built from.
371The time is formatted according to [RFC 2822](https://datatracker.ietf.org/doc/html/rfc2822#section-3.3) (e.g. HTTP Headers).
372
373This constant will be empty if the last commit cannot be determined."#]
374#[allow(dead_code)]
375#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
376pub const COMMIT_DATE_2822 :&str = r#"Tue, 24 Jun 2025 06:54:18 +0000"#;
377
378#[doc=r#"
379The name of the Git branch that this project was built from.
380The time is formatted according to [RFC 3339 and ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6).
381
382This constant will be empty if the last commit cannot be determined."#]
383#[allow(dead_code)]
384#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
385pub const COMMIT_DATE_3339 :&str = r#"2025-06-24T06:54:18Z"#;
386
387#[doc=r#"
388The e-mail address of the author of the Git commit that this project was built from.
389
390This constant will be empty if the last commit cannot be determined."#]
391#[allow(dead_code)]
392#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
393pub const COMMIT_EMAIL :&str = r#"ybh1998@protonmail.com"#;
394
395#[doc=r#"
396The full commit hash of the Git commit that this project was built from.
397An abbreviated, but not necessarily unique, version of this is [`SHORT_COMMIT`].
398
399This constant will be empty if the last commit cannot be determined."#]
400#[allow(dead_code)]
401#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
402pub const COMMIT_HASH :&str = r#"ab72c5aa45fd20fe4eb55e9155bcc4a133d488b6"#;
403
404#[doc=r#"
405Whether the Git working tree was clean at the time of project build (`true`), or not (`false`).
406
407This constant will be `false` if the last commit cannot be determined."#]
408#[allow(dead_code)]
409#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
410pub const GIT_CLEAN :bool = true;
411
412#[doc=r#"
413The Git working tree status as a list of files with their status, similar to `git status`.
414Each line of the list is preceded with ` * `, followed by the file name.
415Files marked `(dirty)` have unstaged changes.
416Files marked `(staged)` have staged changes.
417
418This constant will be empty if the working tree status cannot be determined."#]
419#[allow(dead_code)]
420#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
421pub const GIT_STATUS_FILE :&str = r#""#;
422
423#[doc=r#"
424The name of the last Git tag on the branch that this project was built from.
425As opposed to [`TAG`], this does not require the current commit to be tagged, just one of its parents.
426
427This constant will be empty if the last tag cannot be determined."#]
428#[allow(dead_code)]
429#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
430pub const LAST_TAG :&str = r#"v0.0.20"#;
431
432#[doc=r#"
433The project's description, as determined by the Cargo.toml manifest."#]
434#[allow(dead_code)]
435#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
436pub const PKG_DESCRIPTION :&str = r#"LibreDR is an open-source ray-tracing differentiable renderer"#;
437
438#[doc=r#"
439The project's full version string, as determined by the Cargo.toml manifest."#]
440#[allow(dead_code)]
441#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
442pub const PKG_VERSION :&str = r#"0.0.21"#;
443
444#[doc=r#"
445The project's semver major version, as determined by the Cargo.toml manifest."#]
446#[allow(dead_code)]
447#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
448pub const PKG_VERSION_MAJOR :&str = r#"0"#;
449
450#[doc=r#"
451The project's semver minor version, as determined by the Cargo.toml manifest."#]
452#[allow(dead_code)]
453#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
454pub const PKG_VERSION_MINOR :&str = r#"0"#;
455
456#[doc=r#"
457The project's semver patch version, as determined by the Cargo.toml manifest."#]
458#[allow(dead_code)]
459#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
460pub const PKG_VERSION_PATCH :&str = r#"21"#;
461
462#[doc=r#"
463The project's semver pre-release version, as determined by the Cargo.toml manifest."#]
464#[allow(dead_code)]
465#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
466pub const PKG_VERSION_PRE :&str = r#""#;
467
468#[doc=r#"
469The project name, as determined by the Cargo.toml manifest."#]
470#[allow(dead_code)]
471#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
472pub const PROJECT_NAME :&str = r#"libredr-common"#;
473
474#[doc=r#"
475The [Rustup toolchain](https://rust-lang.github.io/rustup/concepts/toolchains.html) with which the project was built.
476Note that as per Rustup toolchain format, this variable may or may not contain host and date information,
477but it will always contain [channel](https://rust-lang.github.io/rustup/concepts/channels.html) information (stable, beta or nightly)."#]
478#[allow(dead_code)]
479#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
480pub const RUST_CHANNEL :&str = r#"stable-x86_64-unknown-linux-gnu"#;
481
482#[doc=r#"
483Rust version with which the project was built.
484The version always uses the canonical Rust version format,
485and is therefore identical to the output of the build toolchain's `rustc --version`."#]
486#[allow(dead_code)]
487#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
488pub const RUST_VERSION :&str = r#"rustc 1.87.0 (17067e9ac 2025-05-09)"#;
489
490#[doc=r#"
491The short hash of the Git commit that this project was built from.
492Note that this will always truncate [`COMMIT_HASH`] to 8 characters if necessary.
493Depending on the amount of commits in your project, this may not yield a unique Git identifier
494([see here for more details on hash abbreviation](https://git-scm.com/docs/git-describe#_examples)).
495
496This constant will be empty if the last commit cannot be determined."#]
497#[allow(dead_code)]
498#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
499pub const SHORT_COMMIT :&str = r#"ab72c5aa"#;
500
501#[doc=r#"
502The name of the Git tag that this project was built from.
503Note that this will be empty if there is no tag for the HEAD at the time of build."#]
504#[allow(dead_code)]
505#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
506pub const TAG :&str = r#""#;
507
508#[allow(dead_code,missing_docs)]
512#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
513pub const VERSION:&str = shadow_rs::formatcp!(r#"
514pkg_version:{}
515branch:{}
516commit_hash:{}
517build_time:{}
518build_env:{},{}"#,PKG_VERSION, BRANCH, SHORT_COMMIT, BUILD_TIME, RUST_VERSION, RUST_CHANNEL
519);
520
521
522#[allow(dead_code,missing_docs)]
526#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
527pub const CLAP_LONG_VERSION:&str = shadow_rs::formatcp!(r#"{}
528branch:{}
529commit_hash:{}
530build_time:{}
531build_env:{},{}"#,PKG_VERSION, BRANCH, SHORT_COMMIT, BUILD_TIME, RUST_VERSION, RUST_CHANNEL
532);
533
534
535#[allow(dead_code)]
537#[allow(clippy::all, clippy::pedantic, clippy::restriction, clippy::nursery)]
538pub fn print_build_in() {
539 println!("BRANCH:{BRANCH}\n");
540 println!("BUILD_OS:{BUILD_OS}\n");
541 println!("BUILD_RUST_CHANNEL:{BUILD_RUST_CHANNEL}\n");
542 println!("BUILD_TARGET:{BUILD_TARGET}\n");
543 println!("BUILD_TARGET_ARCH:{BUILD_TARGET_ARCH}\n");
544 println!("BUILD_TIME:{BUILD_TIME}\n");
545 println!("BUILD_TIME_2822:{BUILD_TIME_2822}\n");
546 println!("BUILD_TIME_3339:{BUILD_TIME_3339}\n");
547 println!("CARGO_MANIFEST_DIR:{CARGO_MANIFEST_DIR}\n");
548 println!("CARGO_TREE:{CARGO_TREE}\n");
549 println!("CARGO_VERSION:{CARGO_VERSION}\n");
550 println!("COMMITS_SINCE_TAG:{COMMITS_SINCE_TAG}\n");
551 println!("COMMIT_AUTHOR:{COMMIT_AUTHOR}\n");
552 println!("COMMIT_DATE:{COMMIT_DATE}\n");
553 println!("COMMIT_DATE_2822:{COMMIT_DATE_2822}\n");
554 println!("COMMIT_DATE_3339:{COMMIT_DATE_3339}\n");
555 println!("COMMIT_EMAIL:{COMMIT_EMAIL}\n");
556 println!("COMMIT_HASH:{COMMIT_HASH}\n");
557 println!("GIT_CLEAN:{GIT_CLEAN}\n");
558 println!("GIT_STATUS_FILE:{GIT_STATUS_FILE}\n");
559 println!("LAST_TAG:{LAST_TAG}\n");
560 println!("PKG_DESCRIPTION:{PKG_DESCRIPTION}\n");
561 println!("PKG_VERSION:{PKG_VERSION}\n");
562 println!("PKG_VERSION_MAJOR:{PKG_VERSION_MAJOR}\n");
563 println!("PKG_VERSION_MINOR:{PKG_VERSION_MINOR}\n");
564 println!("PKG_VERSION_PATCH:{PKG_VERSION_PATCH}\n");
565 println!("PKG_VERSION_PRE:{PKG_VERSION_PRE}\n");
566 println!("PROJECT_NAME:{PROJECT_NAME}\n");
567 println!("RUST_CHANNEL:{RUST_CHANNEL}\n");
568 println!("RUST_VERSION:{RUST_VERSION}\n");
569 println!("SHORT_COMMIT:{SHORT_COMMIT}\n");
570 println!("TAG:{TAG}\n");
571 println!("VERSION:{VERSION}\n");
572 println!("CLAP_LONG_VERSION:{CLAP_LONG_VERSION}\n");
573}
574
575