The newline escape hack doesn't work very well sometimes. It seemed to return error for some cases (which I forget now). So, I've switched to serde. The initializing and unsealing options are required for interacting with Vault in production mode.
As a footnote, I personally feel that this library needs a ton of cleanup, since it's the only library with the promise of being a wonderful client for Vault API in the near future (and because we're using Rust and Vault in production). FYI, I didn't even realize that this was actively being maintained (given the activity it had) 😄
Anyway, I'm happy to clean up some stuff in my free time, and I'll try to make PRs whenever I have something convincing.
The newline escape hack doesn't work very well sometimes. It seemed to return error for some cases (which I forget now). So, I've switched to serde. The initializing and unsealing options are required for interacting with Vault in production mode.
As a footnote, I personally feel that this library needs a ton of cleanup, since it's the only library with the promise of being a wonderful client for Vault API in the near future (and because we're using Rust and Vault in production). FYI, I didn't even realize that this was actively being maintained (given the activity it had) 😄
Anyway, I'm happy to clean up some stuff in my free time, and I'll try to make PRs whenever I have something convincing.
r? @ChrisMacNaughton