sdl-parser

Crates.iosdl-parser
lib.rssdl-parser
version0.21.0
sourcesrc
created_at2023-03-09 09:00:13.357868
updated_at2024-02-29 15:08:17.74142
descriptionThe SDL parser is a Rust tool designed for parsing Scenario Defined Language files.
homepagehttps://documentation.opencyberrange.ee
repository
max_upload_size
id805452
size200,466
mannyfreddy (mannyfred)

documentation

https://documentation.opencyberrange.ee/docs/category/sdl-parser

README

CR14 Logo       EAS Logo       Taltech Logo       NG Logo       NTNU Logo

SDL parser

The SDL parser is a Rust tool designed for parsing Scenario Defined Language files and is a part of Open Cyber Range suite. The SDL parser tool can be used to extract this information from SDL files and convert it into a format that can be used by other tools. With its advanced memory management and error handling features, the SDL parser offers fast parsing times and low memory usage, making it ideal for modern applications that require speed and efficiency in security analysis. If you're looking to integrate SDL files into your Rust project for security analysis, the SDL parser is an essential tool that simplifies the process and ensures accurate and reliable security assessments.

Documentation

Getting Started

To use the SDL parser, you'll need to add it as a dependency to your project. You can do this by adding the following line to your Cargo.toml file:

[dependencies]
sdl-parser = "0.16"

After adding the dependency, you can use the SDL parser in your Rust code:

use sdl_parser::parse_sdl;

fn main() {
        let sdl = r#"
            name: test-scenario
            description: some-description
        "#;
        let scenario = parse_sdl(sdl).unwrap();
        assert_eq!(scenario.name, "test-scenario")
}

Performance

The SDL parser tool is designed for optimal performance. It uses Rust's advanced memory management and error handling features to provide fast parsing times and low memory usage.

Contributions

Contributions to the SDL parser project are welcome and encouraged. If you have any bug reports or feature requests, please file them in the GitHub issues tracker. If you'd like to contribute code, please submit a pull request.

License

The SDL parser tool is released under the MIT License.

Contact Information

If you have any questions or concerns about the SDL Parser tool, please contact us at developers@cr14.ee

Commit count: 0

cargo fmt