11 releases

0.3.1 Feb 15, 2022
0.2.1 Feb 4, 2022
0.1.8 Jan 30, 2022

#13 in #unofficial

37 downloads per month

MIT license

55KB
1.5K SLoC


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.

Dependencies

~4–20MB
~227K SLoC