Closed hkr1990 closed 1 year ago
The commit that added the Value::origin()
method is not yet released on crates.io!
You can use the crate from the master
branch if you need this function.
The commit that added the
Value::origin()
method is not yet released on crates.io!You can use the crate from the
master
branch if you need this function.
Do you know when will the commit get released?
Sorry for not coming back to your question until now.
I will publish the next release when I think it is appropriate. I don't think it is right now. The crate is not that actively developed, there is not much progress here. Also because I fail to drive my attempt on re-thinking the crate from grounds up (see #376 ). Not because I have no idea how to do it, but simply because I cannot find the motivation to get started.
FWIW, until the next release, you can use the master branch of this crate to get that method!
I'm trying to call this public function "origin" on a Value type and I'm getting this error "^^^^^ private field, not a method". Also, the method is public in the code but not in the API documentation.
Defined in value.rs /// Get the description of the original location of the value. pub fn origin(&self) -> Option<&str> { self.origin.as_ref().map(AsRef::as_ref) }