Registry / utility / cxmr-currency

cxmr-currency

JSON →
library0.0.1rscratesunverified

Currency structures for representing monetary values.

# Cargo.toml [dependencies] cxmr-currency = "0.0.1"
INSTALL
IMPORT
SIG · CXMR-CURRENCY
C
cxmr-currency
utilityrustv0.0.1
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.

Currency
use cxmr_currency::Currency;

Creates a new currency instance with amount and code.

use cxmr_currency::Currency; fn main() { let usd = Currency::new("USD", 100); println!("Currency: {} {}", usd.amount(), usd.code()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
cxmr-currency — cargo add cxmr-currency · libregistry