Registry / utility / version

version

JSON →
library3.0.0rscratesunverified

A simple library that returns the version of your crate when building with Cargo.

# Cargo.toml [dependencies] version = "3.0.0"
INSTALL
IMPORT
SIG · VERSION
V
version
utilityrustv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

version
use version::version;

Print the current crate version using the version! macro.

use version::version; fn main() { println!("Crate version: {}", version!()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
version — cargo add version · libregistry