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

#146 in Parser implementations

Download history 35648/week @ 2024-07-23 36732/week @ 2024-07-30 38429/week @ 2024-08-06 35176/week @ 2024-08-13 38385/week @ 2024-08-20 39676/week @ 2024-08-27 43644/week @ 2024-09-03 38287/week @ 2024-09-10 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 43585/week @ 2024-11-05

184,503 downloads per month
Used in 21 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–350KB