Skip to main content

manifest_text

Function manifest_text 

Source
pub fn manifest_text() -> &'static str
Expand description

The plugin’s manifest, tabnas.plugin.json, as the repository carries it. Its translate object is what a host that translates reads: the shape an expression document is read as and written from (tree), the root the render takes, the schema of the tree its events carry (expr), the files that hold the embedding of a plain tree in that schema and the render, and the sentences that say what a written document does not keep. The crate embeds its own copy, translate/manifest.json, since a packaged crate holds nothing outside rs/; tests/translate_test.rs holds the copy to the file.

assert!(tabnas_expr::manifest_text().contains("\"translate\""));