23 stable releases
new 1.2.4 | May 17, 2024 |
---|---|
1.2.3 | Oct 5, 2023 |
1.2.2 | Sep 28, 2023 |
1.1.8 | Aug 31, 2023 |
1.0.0 | Jun 1, 2023 |
#332 in Parser implementations
81 downloads per month
2.5MB
2K
SLoC
Parse the Metadata from an SAP OData V2 Service
This is a work in progress!
Parses the metadata XML describing an SAP OData V2 service and generates two Rust modules: one for the Service Document and one for the metadata document.
Available Functionality
-
<ComplexType>
and<EntityType>
elements are mapped to Ruststructs
- Transforms
Edm.DateTime
intochrono::NaiveDateTime
using a custom deserializer -
Edm.Decimal
fields are handled using theDecimal
deserializer in craterust_decimal
; however, this offers only partial support -
<FunctionImport>
functionality will be supported in time, but is not currently available - The metadata module is currently empty and needs to be populated - I'm working on it...
Table of Contents
TODOs
- Populate the empty OData metadata module.
- Improve support for fields of type
Edm.Decimal
. - Support Function Imports.
Dependencies
~6–17MB
~228K SLoC