Crates.io | rwarden |
lib.rs | rwarden |
version | 0.0.1 |
source | src |
created_at | 2021-08-20 19:10:09.208105 |
updated_at | 2021-08-20 19:10:09.208105 |
description | Bitwarden API client |
homepage | |
repository | https://github.com/nn1ks/rwarden |
max_upload_size | |
id | 440086 |
size | 136,674 |
A Bitwarden API client for Rust.
This project is not associated with the Bitwarden project nor 8bit Solutions LLC.
IMPORTANT: Do not run the test suite on your regular Bitwarden account. The tests will create, modify, and delete (existing) items.
To run the test suite you have to specify a Bitwarden account via environment variables:
RWARDEN_EMAIL
: The email address of the accountRWARDEN_PASSWORD
: The password of the accountRWARDEN_AUTH_URL
: The URL to the authentication endpoint of the Bitwarden serverRWARDEN_BASE_URL
: The URL to the base API endpoint of the Bitwarden serverSee the documentation of the Urls
struct for more information on what URLs to specify for the
RWARDEN_*_URL
environment variables.
cargo test
Some tests are ignored by default because they interfere with other tests. You can run them manually with:
cargo test cipher_purge -- --include-ignored --exact
Vaultwarden is missing some features and some tests do not work because of this. To disable the tests that are incompatible with vaultwarden, run:
cargo test --features disable_vaultwarden_incompatible_tests
Licensed under either of Apache License, Version 2.0 or MIT License at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.