summaryrefslogtreecommitdiff
path: root/serde_dhall (follow)
Commit message (Collapse)AuthorAgeFilesLines
* substitutions: add test to serde.rsstuebinm2021-04-261-0/+21
|
* substitutions: add documentationstuebinm2021-04-101-0/+37
|
* add type substitutions to serde_dhallstuebinm2021-04-101-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | this adds subsititutions, which work similar to the `Dhall.substitutions` mechanism of the Haskell dhall package, and which can be used e.g. like this: ```rust serde_dhall.from_str(...) .substitute_names(hashmap!["Newtype" => static_type]) .parse::<SimpleType>()? ``` The idea behind this is to make it easy to add programmer-defined types which may be used in configs for programs, without forcing the program's users to re-import the same type definitions each time (or the programmers to keep the dhall-based definitions in sync with their rust types, since these are now generated automatically). Caveats so far: - makes some of the code ugly (dhall internals are now used in serde_dhall/src/lib.rs, for example) - haven't tested error messages so far - some unecessary copying of strings and static type values
* release: serde_dhall version 0.10.1Nadrieril2021-04-032-2/+2
|
* release: dhall_proc_macros version 0.5.1Nadrieril2021-04-031-1/+1
|
* release: dhall version 0.10.1Nadrieril2021-04-031-1/+1
|
* Remove a redundant semicolon in a test for good measure.Ceri Storey2021-03-271-2/+2
|
* fix: don't use `Option` to signal errorsNadrieril2021-03-091-24/+31
|
* release: serde_dhall version 0.10.0Nadrieril2021-02-042-2/+2
|
* release: dhall version 0.10.0Nadrieril2021-02-041-1/+1
|
* fixes #210 avoid possible conflicts by not using AsRef traitQeenon2021-01-251-1/+1
|
* chore: convert doc links to intra-doc linksNadrieril2020-12-186-67/+52
|
* tests: add a test that fetches the remote preludeNadrieril2020-12-081-1/+17
| | | | It's too slow even in release mode.
* Unify `skip_resolve_expr` with normal resolutionNadrieril2020-12-072-1/+20
|
* Thread cx everywhere else imports are readNadrieril2020-12-072-5/+13
|
* Thread cx through normalizationNadrieril2020-12-072-21/+23
|
* Don't store internal structures of `dhall` in `serde_dhall`Nadrieril2020-12-073-38/+86
|
* release: serde_dhall version 0.9.0Nadrieril2020-11-202-2/+2
|
* release: dhall version 0.9.0Nadrieril2020-11-201-1/+1
|
* Expose binary parsing in the APINadrieril2020-11-203-1/+63
|
* release: serde_dhall version 0.8.0Nadrieril2020-10-282-2/+2
|
* release: dhall version 0.8.0Nadrieril2020-10-281-1/+1
|
* Fix clippy and formattingNadrieril2020-10-282-2/+4
|
* Move some testsNadrieril2020-10-282-61/+59
|
* Implement SimpleValue serializationNadrieril2020-10-282-16/+61
|
* Move table of type correspondancesNadrieril2020-10-282-23/+26
|
* Add missing documentationNadrieril2020-10-283-10/+316
|
* Make type annotation optional to allow serializing SimpleValueNadrieril2020-10-288-157/+202
|
* Implement serializationNadrieril2020-10-2811-72/+724
|
* Prefer u64/i64 to usize/isizeNadrieril2020-10-284-40/+14
|
* Release serde_dhall version 0.7.5Nadrieril2020-10-282-2/+2
|
* Make `SimpleValue` deserializable within other typesNadrieril2020-10-273-19/+145
| | | | Fixes https://github.com/Nadrieril/dhall-rust/issues/184
* Release serde_dhall version 0.7.4Nadrieril2020-10-252-2/+2
|
* Release dhall version 0.7.4Nadrieril2020-10-251-1/+1
|
* Release serde_dhall version 0.7.3Nadrieril2020-10-242-2/+2
|
* Make SimpleValue public and add from_simple_value()Benjamin Levy2020-10-243-6/+130
|
* Release serde_dhall version 0.7.2Nadrieril2020-10-242-2/+2
|
* Release dhall version 0.7.2Nadrieril2020-10-241-1/+1
|
* Propagate reqwest feature to serde_dhallBasile Henry2020-10-231-1/+5
|
* Release serde_dhall version 0.7.1Nadrieril2020-10-162-2/+2
|
* feat: Add a `Display` impl for `SimpleType`Nadrieril2020-10-161-0/+21
| | | | Fixes https://github.com/Nadrieril/dhall-rust/issues/179
* Release serde_dhall version 0.7.0Nadrieril2020-09-152-2/+2
|
* Release dhall version 0.7.0Nadrieril2020-09-151-1/+1
|
* Release serde_dhall version 0.6.0Nadrieril2020-08-052-2/+2
|
* Release dhall version 0.6.0Nadrieril2020-08-051-1/+1
|
* fix: update version_numbers testNadrieril2020-06-251-2/+2
|
* doc: extract changelog to its own fileNadrieril2020-06-251-4/+4
|
* chore: upgrade dependencies using cargo-outdatedNadrieril2020-06-241-2/+2
|
* chore: reduce crate size using cargo-dietNadrieril2020-06-241-0/+1
|
* Release serde_dhall version 0.5.3Nadrieril2020-05-302-2/+2
|