docs.rs failed to build snowflake-connector-rs-0.8.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
snowflake-connector-rs-0.7.6
Snowflake Connector for Rust
A Rust client for Snowflake, which enables you to connect to Snowflake and run queries.
Usage
let client = new?;
let session = client.create_session.await?;
let query = "CREATE TEMPORARY TABLE example (id NUMBER, value STRING)";
session.query.await?;
let query = "INSERT INTO example (id, value) VALUES (1, 'hello'), (2, 'world')";
session.query.await?;
let query = "SELECT * FROM example ORDER BY id";
let rows = session.query.await?;
assert_eq!;
assert_eq!;
assert_eq!;
Features
This crate supports optional features to decrypt legacy keys that use DES or 3DES encryption. These algorithms are considered insecure and should only be used for legacy compatibility.
pkcs8-des: Enables DES decryption supportpkcs8-3des: Enables 3DES decryption supportexternal-browser-sso: Enables external browser SSO authentication support
[!NOTE] The
external-browser-ssofeature is experimental. The implementation and API may change in future releases, and stability or backward compatibility is not guaranteed. Use this feature with caution in production environments. Please open an issue for bugs or feature requests.
External browser SSO environment variables
SF_AUTH_SOCKET_ADDR: Listener bind host (defaultlocalhost).SF_AUTH_SOCKET_PORT: Listener port (default0to auto-pick).