https://github.com/samuelmarks/odbc-secrets-lib
Rust crate for basic CRUD across many databases using ODBC
https://github.com/samuelmarks/odbc-secrets-lib
Last synced: 3 months ago
JSON representation
Rust crate for basic CRUD across many databases using ODBC
- Host: GitHub
- URL: https://github.com/samuelmarks/odbc-secrets-lib
- Owner: SamuelMarks
- License: apache-2.0
- Created: 2024-07-30T00:48:11.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-03T04:23:52.000Z (almost 2 years ago)
- Last Synced: 2025-09-13T17:01:49.114Z (10 months ago)
- Language: Rust
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
odbc-secrets-lib
================
[](https://opensource.org/licenses/Apache-2.0)
Database abstracted library—using Open Database Connectivity (ODBC)—intended for basic and batch Create Read Update Delete (CRUD) operations, and negotiating database connection using a secret manager.
---
## Development guide
### Install Rust
Follow the [official alt-guide](https://forge.rust-lang.org/infra/other-installation-methods.html#other-ways-to-install-rustup) or alternatively run one of the following:
#### Non-Windows
```sh
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh sh -s -- --default-toolchain nightly
```
#### Windows
```cmd
> curl --proto '=https' --tlsv1.2 -sSfO https://static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe
> rustup-init --default-toolchain nightly
```
### Build project
```sh
$ cargo build
```
## Contribution guide
Ensure all tests are passing [`cargo test`](https://doc.rust-lang.org/cargo/commands/cargo-test.html) and [`rustfmt`](https://github.com/rust-lang/rustfmt) has been run. This can be with [`cargo make`](https://github.com/sagiegurari/cargo-make); installable with:
```sh
$ cargo install --force cargo-make
```
Then run:
```sh
$ cargo make
```
Finally, we recommend [feature-branches](https://martinfowler.com/bliki/FeatureBranch.html) with an accompanying [pull-request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).
---
## License
Licensed under either of
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or )
- MIT license ([LICENSE-MIT](LICENSE-MIT) or )
at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.