diff --git a/crates/backend/Cargo.toml b/crates/backend/Cargo.toml index d2b61612c..cf04821ed 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -91,11 +91,11 @@ typed-path = { version = "0.12.2", optional = true } [target.'cfg(not(windows))'.dependencies] # opendal backend # - sftp is not supported on windows, see https://github.com/apache/incubator-opendal/issues/2963 -opendal = { version = "0.56.0", features = ["blocking", "services-b2", "services-ftp", "services-sftp", "services-swift", "services-azblob", "services-azdls", "services-cos", "services-fs", "services-dropbox", "services-gdrive", "services-gcs", "services-ghac", "services-http", "services-ipmfs", "services-memory", "services-obs", "services-onedrive", "services-oss", "services-s3", "services-webdav", "services-webhdfs", "services-azfile", "layers-throttle", "services-yandex-disk"], optional = true } +opendal = { version = "0.56.0", features = ["blocking", "services-b2", "services-ftp", "services-sftp", "services-swift", "services-azblob", "services-azdls", "services-cos", "services-fs", "services-dropbox", "services-gdrive", "services-gcs", "services-ghac", "services-http", "services-ipmfs", "services-memory", "services-obs", "services-onedrive", "services-oss", "services-pcloud", "services-s3", "services-webdav", "services-webhdfs", "services-azfile", "layers-throttle", "services-yandex-disk"], optional = true } [target.'cfg(windows)'.dependencies] # opendal backend -opendal = { version = "0.56.0", features = ["blocking", "services-b2", "services-ftp", "services-swift", "services-azblob", "services-azdls", "services-cos", "services-fs", "services-dropbox", "services-gdrive", "services-gcs", "services-ghac", "services-http", "services-ipmfs", "services-memory", "services-obs", "services-onedrive", "services-oss", "services-s3", "services-webdav", "services-webhdfs", "services-azfile", "layers-throttle", "services-yandex-disk"], optional = true } +opendal = { version = "0.56.0", features = ["blocking", "services-b2", "services-ftp", "services-swift", "services-azblob", "services-azdls", "services-cos", "services-fs", "services-dropbox", "services-gdrive", "services-gcs", "services-ghac", "services-http", "services-ipmfs", "services-memory", "services-obs", "services-onedrive", "services-oss", "services-pcloud", "services-s3", "services-webdav", "services-webhdfs", "services-azfile", "layers-throttle", "services-yandex-disk"], optional = true } [dev-dependencies] anyhow = { workspace = true } diff --git a/crates/backend/tests/fixtures/opendal/pcloud.toml b/crates/backend/tests/fixtures/opendal/pcloud.toml new file mode 100644 index 000000000..075b21636 --- /dev/null +++ b/crates/backend/tests/fixtures/opendal/pcloud.toml @@ -0,0 +1,6 @@ +path = "pcloud" +[options] +endpoint = "https://api.pcloud.com" +username = "user@example.com" +password = "secret" +root = "/path/to/repo"