init repo
This commit is contained in:
commit
ecb1752a53
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
target
|
||||
Cargo.lock
|
||||
OLD
|
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020-2021 Jesús Pérez Lorenzo
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
47
README.md
Normal file
47
README.md
Normal file
@ -0,0 +1,47 @@
|
||||
# Data Stores Library
|
||||
|
||||
## Rust Library to declare and manage [Data Stores](https://en.wikipedia.org/wiki/Data_store) for **LibreClouds** [Klouds](https://rlung.librecloud.online/LibreCloud/Klouds#klouds)
|
||||
|
||||
Part of the following developments:
|
||||
|
||||
- [CloudMandala](https://rlung.librecloud.online/LibreCloud/CloudMandala#cloudmandala)
|
||||
- [Zteron](https://rlung.librecloud.online/LibreCloud/CloudMandala#cloudmandala)
|
||||
|
||||
It includes definitions and functions for the following [Data Stores](https://en.wikipedia.org/wiki/Data_store):
|
||||
|
||||
- Redis
|
||||
- MySQL
|
||||
- Postgres
|
||||
- Sqlite
|
||||
- Slab
|
||||
|
||||
|
||||
### How to use
|
||||
|
||||
1 - Clone or download this lib in a path, better outside of target development
|
||||
|
||||
2 - Get current version from <u>Cargo.toml</u>
|
||||
|
||||
3 - Include a line like the one below in <u>target development Cargo.toml</u> (adjust version & path) and **use** whatever is need.
|
||||
|
||||
```toml
|
||||
datastores = { version = "0.1.0", path = "../lib/datastores/defs" }
|
||||
connectors = { version = "0.1.0", path = "../lib/datastores/connectors" }
|
||||
```
|
||||
|
||||
### Structure
|
||||
|
||||
<pre>
|
||||
.
|
||||
├── connectors
|
||||
└── defs
|
||||
|
||||
</pre>
|
||||
|
||||
## Author
|
||||
|
||||
- [Jesús Pérez](https://info.jesusperez.pro).
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
Loading…
Reference in New Issue
Block a user