summaryrefslogtreecommitdiff
path: root/serde_dhall/src
diff options
context:
space:
mode:
authorNadrieril2020-04-05 19:56:00 +0100
committerGitHub2020-04-05 19:56:00 +0100
commit4290615769fc26c5e4b70843e7fbfddf6359af41 (patch)
treed7b7a860f08831aa81faee961c0d675440daea32 /serde_dhall/src
parent7e977f282fb6a0eff0ef45738b9b5c98dc4c6fee (diff)
parent5a10cd2e8fac854f4f6fa152cfb1b9ad71b0d091 (diff)
Merge pull request #157 from Nadrieril/release
Release v0.5.0
Diffstat (limited to 'serde_dhall/src')
-rw-r--r--serde_dhall/src/lib.rs2
-rw-r--r--serde_dhall/src/options.rs4
2 files changed, 5 insertions, 1 deletions
diff --git a/serde_dhall/src/lib.rs b/serde_dhall/src/lib.rs
index c478b2a..bff8989 100644
--- a/serde_dhall/src/lib.rs
+++ b/serde_dhall/src/lib.rs
@@ -1,4 +1,4 @@
-#![doc(html_root_url = "https://docs.rs/serde_dhall/0.4.0")]
+#![doc(html_root_url = "https://docs.rs/serde_dhall/0.5.0")]
#![warn(missing_docs, missing_doc_code_examples)]
//! [Dhall][dhall] is a programmable configuration language that provides a non-repetitive
//! alternative to JSON and YAML.
diff --git a/serde_dhall/src/options.rs b/serde_dhall/src/options.rs
index 06a4368..76b1c5b 100644
--- a/serde_dhall/src/options.rs
+++ b/serde_dhall/src/options.rs
@@ -302,6 +302,8 @@ impl<'a, A> Deserializer<'a, A> {
/// This returns a [`Deserializer`] object. Call the [`parse`] method to get the deserialized
/// value, or use other [`Deserializer`] methods to control the deserialization process.
///
+/// Imports will be resolved relative to the current directory.
+///
/// # Example
///
/// ```rust
@@ -338,6 +340,8 @@ pub fn from_str(s: &str) -> Deserializer<'_, NoAnnot> {
/// This returns a [`Deserializer`] object. Call the [`parse`] method to get the deserialized
/// value, or use other [`Deserializer`] methods to control the deserialization process.
///
+/// Imports will be resolved relative to the provided file's path.
+///
/// # Example
///
/// ```no_run