9 releases

0.5.7 Jul 30, 2024
0.5.6 Jan 25, 2024
0.5.3 Aug 2, 2023
0.5.2 Feb 5, 2023
0.5.0 Oct 31, 2021

#162 in Parser implementations

Download history 40120/week @ 2024-09-17 46096/week @ 2024-09-24 48542/week @ 2024-10-01 43861/week @ 2024-10-08 46611/week @ 2024-10-15 45244/week @ 2024-10-22 41310/week @ 2024-10-29 43690/week @ 2024-11-05 32261/week @ 2024-11-12 33934/week @ 2024-11-19 39138/week @ 2024-11-26 42534/week @ 2024-12-03 44163/week @ 2024-12-10 37297/week @ 2024-12-17 26274/week @ 2024-12-24 25724/week @ 2024-12-31

140,681 downloads per month
Used in 22 crates (3 directly)

MIT license

120KB
4K SLoC

Bitbake 2.5K SLoC Rust 1.5K SLoC // 0.0% comments Shell 9 SLoC // 0.2% comments

fontconfig-parser

This crate provide parsing fontconfig file but not yet complete all features

see https://www.freedesktop.org/software/fontconfig/fontconfig-user.html for more detail infomation of fontconfig file

Example

use fontconfig_parser::FontConfig;

let mut config = FontConfig::default();

config.merge_config("/etc/fonts/fonts.conf").unwrap();

License: MIT


lib.rs:

This crate provide parsing fontconfig file but not yet complete all features

see https://www.freedesktop.org/software/fontconfig/fontconfig-user.html for more detail infomation of fontconfig file

Example

use fontconfig_parser::FontConfig;

let mut config = FontConfig::default();

config.merge_config("/etc/fonts/fonts.conf").unwrap();

Dependencies

~165–340KB