3 releases (1 stable)

1.0.0 Jun 5, 2023
0.0.2 Jun 30, 2019
0.0.1 Jun 28, 2019

#15 in #four

38 downloads per month

MIT license

5KB
67 lines

four-char-code

GitHub Workflow Status (with branch)

A FourCC ("four-character code") is a sequence of four bytes (typically ASCII) used to uniquely identify data formats. It originated from the OSType or ResType metadata system used in classic Mac OS and was adopted for the Amiga/Electronic Arts Interchange File Format and derivatives. The idea was later reused to identify compressed data types in QuickTime and DirectShow.

Widipedia

#![no_std]

Enable #![no_std] support by disabling the default std feature:

[dependencies]
four-char-code = { version = "1", default-features = false }

MSRV

1.32.0 (in rust <1.38.0 fcc_format! is not supported)

Dependencies

~1.5MB
~37K SLoC