Structs§
- Android
Artifact Metadata - Metadata describing an Android plugin artifact (.aar) that must be copied into the host Gradle project.
- Asset
- A bundled asset with some options. The asset can be used in rsx! to reference the asset.
It should not be read directly with
std::fs::readbecause the path needs to be resolved relative to the bundle - Asset
Options - Settings for a generic asset
- Asset
Options Builder - A builder for
AssetOptions - Bundled
Asset - An asset that should be copied by the bundler with some options. This type will be
serialized into the binary.
CLIs that support manganis, should pull out the assets from the link section, optimize,
and write them to the filesystem at
BundledAsset::bundled_pathfor the application to use. - CssAsset
Options - Options for a css asset
- Folder
Asset Options - The builder for a folder asset.
- Global
- Image
Asset Options - Options for an image asset
- JsAsset
Options - Options for a javascript asset
- Platform
Flags - Bit flags for supported platforms
- Platform
Identifiers - Platform-specific permission identifiers
- Swift
Package Metadata - Metadata for a Swift package that needs to be linked into the app (iOS/macOS).
Enums§
- Asset
Variant - Settings for a specific type of asset
- CssFragment
- Image
Format - The type of an image. You can read more about the tradeoffs between image formats here
- Image
Size - The size of an image asset
- Platform
- Platform categories for permission mapping
- Symbol
Data - Unified symbol data that can represent both assets and permissions
Functions§
- collect_
css_ idents Deprecated - Collect CSS classes & ids.
- create_
module_ hash - Create a hash for a css module based on the file path
- get_
class_ mappings - Gets all the classes in the css files and their rewritten names.
Includes
:global(...)classes where the name is not changed. - parse_
css - transform_
css - Parses and rewrites CSS class selectors with the hash applied.
Does not modify
:global(...)selectors.