Registry / utility / ra-ap-cfg

ra-ap-cfg

JSON →
library0.0.337rscratesunverified

Conditional compiling options, `cfg` attribute parser and evaluator for rust-analyzer.

# Cargo.toml [dependencies] ra_ap_cfg = "0.0.337"
INSTALL
IMPORT
SIG · RA-AP-CFG
R
ra-ap-cfg
utilityrustv0.0.337
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.

CfgOptions
use ra_ap_cfg::CfgOptions;

Create and configure CfgOptions for conditional compilation.

use ra_ap_cfg::CfgOptions; let mut opts = CfgOptions::default(); opts.set("unix", true); println!("CfgOptions: {:?}", opts);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.337latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
ra-ap-cfg — cargo add ra-ap-cfg · libregistry