Tpt
90b7b128f2
Upgrades MSRV to 1.70
1 year ago
Tpt
3c51dd31bc
Move back MSRV to 1.67 but keep Cargo.lock to 1.70
...
Allows to build on Debian unstable while using latest dependencies
1 year ago
Tpt
555f6b8d7c
xsd:duration: properly fails when building not-serializable durations
...
P1M1D - P3D is giving 1M and -3D. This is not serializable with xsd:duration formatting
1 year ago
Tpt
1eaa77ad93
Uses new rustdoc <div class="warning"> style
1 year ago
Tpt
f10e5a40a3
Enables more Clippy lints
...
Auto-enable all Clippy lints that are not in nursery but a blacklist
1 year ago
Tpt
024bc7b8e8
Simplifies Gitter link
1 year ago
Tpt
570f21748d
Cargo.toml: share some common fields in the workspace
1 year ago
Tpt
b06d6506cb
Fixes "let else" formatting
1 year ago
Tpt
4cb377bda4
Adds documentation field to Cargo.toml
1 year ago
Tpt
077c1fc1a8
Improves XSD errors and code organization
1 year ago
Tpt
1e1ed65d3b
Stop assuming JS platform when compiling to wasm32-unknown-unknown
...
- Adds the "js" feature to enable JS support
- Adds the "custom-now" feature to oxsdatatypes to inject a custom "now" implementation
It is already possible for random with the getrandom "custom" feature
Issue #471
1 year ago
Tpt
c8e718ed2d
Properly document features in docs.rs
1 year ago
Tpt
98ac089984
Adds TryFrom<DayTimeDuration> to std::time::Duration
1 year ago
Tpt
001b6e07b7
Enforces "return self not must use" lint
1 year ago
Tpt
5af06e926a
Removes deprecated methods from oxsdatatypes
1 year ago
Tpt
81895cb6bc
xsd:integer: checked_div is integer division and not regular division according to XPath
1 year ago
Tpt
7c0563cb1b
XSD type structs: use by-value instead of by-ref in methods
...
They are small types
1 year ago
Tpt
ae294683d6
Upgrades MSRV to 1.65
...
This is the MSRV of the dependencies (1.64) bumped to 1.65 to allow GAT
1 year ago
Tpt
ab17138f33
Starts 0.4.0-alpha.1
1 year ago
Tpt
8e76341bb2
Releases v0.3.18
1 year ago
Tpt
f47306a4c5
Duration: ensures that the smallest supported duration can be parsed and serialized
1 year ago
Tpt
99186c1e7d
Releases v0.3.17
1 year ago
Tpt
edec370f0a
Makes xsd:dateTime year parsing stricter
...
Do not allow syntaxes not allowed by the grammar
1 year ago
Tpt
5f2c9a3b92
Cleans up documentation links to RDF specifications
1 year ago
Tpt
57d39cad24
Makes Clippy happy
1 year ago
Tpt
b2d625e10e
XSD: Drops nom dependency
1 year ago
Tpt
63945638ea
XSD: Adds checked_neg operation
1 year ago
Tpt
d24461fc42
XSD: Improves arithmetic computations
...
Avoids internal overflow inside some decimal operations
2 years ago
Tpt
7175784356
Improves Clippy lint list
2 years ago
Tpt
a2d8bcaaa3
Starts 0.3.17 dev
2 years ago
Tpt
3e0f6b5405
Applies oxigraph crate clippy lint to the complete project
2 years ago
Tpt
d587d3b2bb
xsd:decimal parsing: properly detect underflow
...
checked_div is only failing on division by 0...
2 years ago
Tpt
9729ec8ed3
Adds features annotations to docs.rs
2 years ago
Tpt
c25a76c1f3
Releases v0.3.13
2 years ago
Tpt
909a906d2a
XSD: Adds tests for "minimal conformance"
2 years ago
Tpt
cb2c891979
Fixes formatting of times with decimal second number lower than 10
2 years ago
Tpt
7a0c457867
Updates version numbers
2 years ago
Tpt
f47b2b1a7b
Fixes oxsdatatypes keywords
2 years ago
Tpt
44fc4eef1a
Releases v0.3.11
2 years ago
Tpt
22a3c21c4e
Improves oxsdatatypes documentation
2 years ago
Tpt
f969a66d05
Uses "ParseDecimalError" naming just like "ParseFloatError"
...
Improves and simplifies tests
2 years ago
Tpt
1fa0633db3
Library: adds basic WASI support
...
Adds tests for WASM+JS and WASI to the CI
2 years ago
Tpt
719cde2eac
Implements SEP-0002 ADJUST function
...
ADJUST is now only implemented when a new timezone is given. I am not sure "" for no timezone is the best way to go.
It is behind a sep-0002 feature in spargebra and sparql-smith and enabled by default in oxigraph.
2 years ago
Tpt
3485833875
Makes Datetime.checked_sub return DayTimeDuration
...
Allows to be consistent with XPath and SPARQL 1.2 SEP 0002
This change is not replicated yet into the SPARQL evaluator to avoid a breaking change
https://www.w3.org/TR/xpath-functions/#func-subtract-dateTimes
https://github.com/w3c/sparql-12/blob/main/SEP/SEP-0002/sep-0002.md
2 years ago
Tpt
78c4e750ae
Improves TimezoneOffset API
2 years ago
Tpt
854e29ee38
Makes XSD datatypes a standalone crate
...
Allows other crates to reuse Oxigraph XSD datatypes implementation
2 years ago