Yuri Astrakhan
abbae9be5b
clippy
11 months ago
Yuri Astrakhan
389347e04e
and a few more
11 months ago
Yuri Astrakhan
487f61f704
a few more cleanups
11 months ago
Yuri Astrakhan
a62c5102c4
Convert all Error + ErrorKind into one error
11 months ago
Tpt
0b1aabfcdd
Moves main crate to lib/oxigraph and centralizes dependencies
11 months ago
Yuri Astrakhan
1e37577b71
Optimize some code, lints
...
* A few match simplifications
* Order trait impl to match trait itself
* A few unneeded parenthesis
* One dup code de-duplication with a new func
11 months ago
Yuri Astrakhan
1e4326a2c5
Optimize format performance
...
As seen in the https://rust.godbolt.org/z/Y8djWsq1P - write! macro produces significantly more code than a write_str call, so this change should have somewhat better performance. To my knowledge, a lot of ppl tried to solve this optimization in the compiler, but no luck yet, so may help compiler ourselves for now.
11 months ago
Yuri Astrakhan
18bf383701
Remove tabs from BNF comments
...
Minor cleanup on the BNF comments - get rid of tabs and align them
11 months ago
Tpt
d838d55f02
Uses nightly rustfmt on imports and comments
11 months ago
Yuri Astrakhan
5be6f55155
A few more self-fixes
...
These are a bit more questionable but still keep things cleaner a bit, at least in some cases?
Most of these were the result of `cargo clippy --fix -- -W clippy::use_self`
12 months ago
Yuri Astrakhan
405b95b4bd
Minor linting fixes
12 months ago
Yuri Astrakhan
2b8df24b8b
Use `Self::AssocName` to simplify declarations
...
To keep with DRY principle, I think it makes it a bit less redundant to reuse the Self::<associated_type_name> structure in the well known trait implementations - keeps it consistent with the trait decl too.
12 months ago
Tpt
42a66f62b9
Enables cargo semver-checks again
12 months ago
Tpt
a5781d1187
Releases v0.4.0-alpha.1
12 months ago
Tpt
025bd2afd2
Uses new cargo lint configuration system
1 year ago
Tpt
2a135283d5
Lints against 1.74
1 year ago
Tpt
e6d98445e6
Makes newer Clippy happy
1 year ago
Tpt
ea80c11d6e
CI: Run clippy on all targets
1 year ago
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
3bb05e2af2
Adds documentation field to Cargo.toml
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
2 years ago
Tpt
001b6e07b7
Enforces "return self not must use" lint
2 years ago
Tpt
5af06e926a
Removes deprecated methods from oxsdatatypes
2 years ago
Tpt
81895cb6bc
xsd:integer: checked_div is integer division and not regular division according to XPath
2 years ago
Tpt
7c0563cb1b
XSD type structs: use by-value instead of by-ref in methods
...
They are small types
2 years ago
Tpt
ae294683d6
Upgrades MSRV to 1.65
...
This is the MSRV of the dependencies (1.64) bumped to 1.65 to allow GAT
2 years ago
Tpt
ab17138f33
Starts 0.4.0-alpha.1
2 years ago
Tpt
8e76341bb2
Releases v0.3.18
2 years ago
Tpt
f47306a4c5
Duration: ensures that the smallest supported duration can be parsed and serialized
2 years ago
Tpt
99186c1e7d
Releases v0.3.17
2 years ago
Tpt
edec370f0a
Makes xsd:dateTime year parsing stricter
...
Do not allow syntaxes not allowed by the grammar
2 years ago
Tpt
5f2c9a3b92
Cleans up documentation links to RDF specifications
2 years ago
Tpt
57d39cad24
Makes Clippy happy
2 years ago
Tpt
b2d625e10e
XSD: Drops nom dependency
2 years ago
Tpt
63945638ea
XSD: Adds checked_neg operation
2 years 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