use-platform 0.1.0

Primitive platform identity and target triple vocabulary for RustUse
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# use-platform

Primitive platform identity vocabulary.

`use-platform` stores target-triple-like platform identity as plain data. It does not detect the current platform, call `std::env::consts`, normalize every possible target triple, or replace target-triple crates.

```rust
use use_platform::{Platform, PlatformTriple};

let triple = PlatformTriple::new("aarch64-apple-darwin").unwrap();
let platform = Platform::new(triple);

assert_eq!(platform.to_string(), "aarch64-apple-darwin");
```