parse-sap-odata

Crates.ioparse-sap-odata
lib.rsparse-sap-odata
version1.2.5
sourcesrc
created_at2023-06-01 14:33:38.437732
updated_at2024-06-12 09:45:51.000684
descriptionGenerate Rust structs from SAP OData V2 metadata
homepage
repositoryhttps://github.com/ChrisWhealy/parse-sap-odata
max_upload_size
id879793
size2,761,560
Chris Whealy (ChrisWhealy)

documentation

README

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 Rust structs
  • Transforms Edm.DateTime into chrono::NaiveDateTime using a custom deserializer
  • Edm.Decimal fields are handled using the Decimal deserializer in crate rust_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

  1. Populate the empty OData metadata module.
  2. Improve support for fields of type Edm.Decimal.
  3. Support Function Imports.

Change Log

Version Description
1.2.5 Update Cargo.toml dependency versions
1.2.4 Add get_key() function to EntityType trait
Commit count: 153

cargo fmt