iced_af 0.4.1

The iced application framework project.
Documentation
//! The default icon font of the widgets of this library.

//use cfg_if::cfg_if;
use iced::Font;

/*cfg_if! {
    if #[cfg(feature = "icons")] {
        pub mod bootstrap;
        pub mod nerd;

        pub use bootstrap::{Bootstrap};
        pub use nerd::Nerd;
        /// The default icon font bytes for loading the font into iced.
        pub const BOOTSTRAP_FONT_BYTES: &[u8] = include_bytes!("./fonts/bootstrap-icons.ttf");
        /// the icon font that has all nerd fonts.
        pub const NERD_FONT_BYTES: &[u8] = include_bytes!("./fonts/nerd-icons.ttf");

        /// The bootstrap icon font.
        pub const BOOTSTRAP_FONT: Font = Font::with_name("bootstrap-icons");
        /// The nerd icon font.
        pub const NERD_FONT: Font = Font::with_name("Symbols Nerd Font");
    } else {
     */
        #[path = "icons/required.rs"]
        pub mod bootstrap;
        pub use bootstrap::{Bootstrap};
        // pub use required::{Bootstrap, icon_to_char, icon_to_string};
        /// The default icon font bytes for loading the font into iced.
        pub const BOOTSTRAP_FONT_BYTES: &[u8] = include_bytes!("./fonts/required-icons.ttf");
        /// The default icon font.
        pub const BOOTSTRAP_FONT: Font = Font::with_name("required-icons");
        /*
    }
}
*/