Crates.io | xmlschema |
lib.rs | xmlschema |
version | 0.0.1 |
source | src |
created_at | 2023-02-18 22:58:16.098949 |
updated_at | 2023-02-18 22:58:16.098949 |
description | XML Schema validator and data conversion library for Rust. |
homepage | https://minifunctions.com |
repository | https://github.com/sebastienrousseau/xmlschema/ |
max_upload_size | |
id | 788519 |
size | 59,903 |
XML Schema validator and data conversion library for Rust.
Website âĸ Documentation âĸ Report Bug âĸ Request Feature âĸ Contributing Guidelines
The xmlschema library is an implementation of XML Schema for Rust. It provides a set of functions to validate XML documents against an XML Schema Definition (XSD) file and to convert XML documents to JSON and vice versa.
This library aims to include the following features:
It takes just a few minutes to get up and running with xmlschema
.
xmlschema
requires Rust 1.67.1 or later.
âšī¸ Info: Please check out our website for more information and find our documentation on docs.rs, lib.rs and crates.io.
To use xmlschema
in your project, add the following to your
Cargo.toml
file:
[dependencies]
xmlschema = "0.0.1"
Add the following to your main.rs
file:
extern crate xmlschema;
use xmlschema::*;
then you can use the functions in your application code.
XML Schema
comes with a set of examples that you can use to get started. The
examples are located in the examples
directory of the project. To run
the examples, clone the repository and run the following command in your
terminal from the project root directory.
cargo run --example xmlschema
For transparency into our release cycle and in striving to maintain
backward compatibility, XML Schema
follows semantic versioning.
The project is licensed under the terms of both the MIT license and the Apache License (Version 2.0).
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
A big thank you to all the awesome contributors of Mini Functions for their help and support. A special thank you goes to the Rust Reddit community for providing a lot of useful suggestions on how to improve this project.