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 ⚠️

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

Have fun 😀

Testing

Unit tests: rust 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:

rust 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.