deta_rust

Crates.iodeta_rust
lib.rsdeta_rust
version0.3.1
sourcesrc
created_at2022-01-30 10:08:57.248019
updated_at2022-02-15 20:17:46.706806
descriptionThe unofficial Deta SDK for Rust lang
homepagehttps://github.com/JakubesP/deta-rust
repositoryhttps://github.com/JakubesP/deta-rust
max_upload_size
id523978
size137,715
(JakubesP)

documentation

README


License: MIT crates.io Documentation

The Deta-Rust is a simple unofficial Deta SDK for Rust lang.

⚠️ This package is still under active development, so there will be many modifications and improvements. Expect breaking changes ⚠️

Feel free to write me if you discovered any problems with the package, or if you have any questions. I am also open to suggestions.

Take a look at the examples to get you started quickly. See the documentation for details.

Have fun 😀

Testing

Unit tests:

cargo test --lib

Integration tests:

Before performing integration tests, you must create a .env file in the root directory. It should contain the fields:

API_KEY=[...]
TEST_DB_NAME=[...]
TEST_DRIVE_NAME=[...]

Then:

cargo test --test database
cargo test --test drive

⚠️ Note, make sure that the database or drive under test does not contain any relevant data ⚠️

License

Licensed under MIT License.

Contributions

Contributions would be greatly appreciated.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the MIT license, shall be licensed as above, without any additional terms or conditions.

Commit count: 15

cargo fmt