ex0dus-0x / microkv

Minimal and persistent key-value store designed with security in mind
MIT License
32 stars 6 forks source link

Support set base path, and change key use AsRef<str> to support multiple string types #8

Closed fewensa closed 3 years ago

fewensa commented 3 years ago

Some OS not have HOME environment, like windows. or want sore file to special path. so this pr add some new api to set it.

And change store key from &str to AsRef<str>, this way help to simple to use these api. multiple string can be set &str String OsString ...

support auto commit

fewensa commented 3 years ago

@ex0dus-0x Hi, I changed some code, hope this is useful, a new version can be released

ex0dus-0x commented 3 years ago

Thanks for the enhancements! This is greatly appreciated. CI should trigger for this now, and we'll be able to merge once you fix the minor linting issues.

fewensa commented 3 years ago

Thanks for the enhancements! This is greatly appreciated. CI should trigger for this now, and we'll be able to merge once you fix the minor linting issues.

Fixed these questions