
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
= LutaML: Ruby library for accessing data models
== Purpose
LutaML aims to be a universal data model accessor that allows parsing data models in multiple languages, including:
== Install
With bundler, in Gemfile
:
Directly:
== Usages
=== Parsing
The Lutaml::Parser.parse
method provides a single point of entry for parsing
data model files, such as:
.exp
extension.xmi
extension.xml
extension.lutaml
extension.yml
extensionDepending on the input file type, Lutaml::Parser.parse
returns:
Expressir::Express::Model::Repository
for EXPRESS filesExpressir::Express::Cache
for EXPRESS CACHE filesLutaml::Uml::Document
for XMI filesLutaml::Uml::Document
for XML filesLutaml::Uml::Document
for LutaML filesLutaml::Uml::Document
for LutaML YAML filesExamples to use the Lutaml::Parser.parse
:
require "lutaml"
model = Lutaml::Parser.parse([File.new("example.exp")])
model = Lutaml::Parser.parse([File.new("example.exp.yaml")], ::Lutaml::Parser::EXPRESS_CACHE_PARSE_TYPE)
model = Lutaml::Parser.parse([File.new("example.xmi")])
model = Lutaml::Parser.parse([File.new("example.xml")])
model = Lutaml::Parser.parse([File.new("example.lutaml")])
model = Lutaml::Parser.parse([File.new("example.yaml")])
=== CLI
There is a command-line interface available for parsing supported data model files.
*.exp
*.lutaml
test.dot
file in the current directory$ lutaml -o . test.lutaml
test.png
file in the assets
directoryFor additional info refer to lutaml --help output
.
== Other Usages
== Copyright and license
Copyright Ribose. BSD-3 License.
FAQs
Unknown package
We found that lutaml demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.