Skip to content

Commit

Permalink
feat: setup cloud filter integration (#4779)
Browse files Browse the repository at this point in the history
* feat: setup cloud filter integration

* fix
  • Loading branch information
ho-229 authored Jun 26, 2024
1 parent 5c7d8fa commit 1770aa2
Show file tree
Hide file tree
Showing 6 changed files with 199 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integrations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ This folder contains the integrations for OpenDAL. Integrations are used to inte

- [`virtiofs_opendal`](virtiofs/README.md): Use OpenDAL as a backend to access data in various services with VirtioFS protocol.

- [`unftp-sbe-opendal`](unftp-sbe/README.md): Use OpenDAL as a backend to access data in various services with FTP protocol.
- [`unftp-sbe-opendal`](unftp-sbe/README.md): Use OpenDAL as a backend to access data in various services with FTP protocol.

- [`cloudfilter_opendal`](cloudfilter/README.md): Use OpenDAL as a backend to access data in various services with [CloudFilter](https://learn.microsoft.com/en-us/windows/win32/api/_cloudapi/).
1 change: 1 addition & 0 deletions integrations/cloudfilter/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Cargo.lock
32 changes: 32 additions & 0 deletions integrations/cloudfilter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

[package]
authors = ["Apache OpenDAL <[email protected]>"]
description = "Cloud Filter Integration for Apache OpenDAL"
edition = "2021"
homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
name = "cloudfilter_opendal"
repository = "https://github.com/apache/opendal"
rust-version = "1.75"
version = "0.0.0"

[dependencies]
anyhow = "1.0.86"
opendal = { version = "0.47.0", path = "../../core" }
widestring = "1.1.0"
140 changes: 140 additions & 0 deletions integrations/cloudfilter/DEPENDENCIES.rust.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
crate 0BSD Apache-2.0 Apache-2.0 WITH LLVM-exception BSD-3-Clause BSL-1.0 ISC MIT MPL-2.0 OpenSSL Unicode-DFS-2016 Unlicense Zlib
[email protected] X X
[email protected] X X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X
[email protected] X
[email protected] X X
[email protected] X
[email protected] X X X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X
[email protected] X X
[email protected] X X X
[email protected] X X X
[email protected] X X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X
[email protected] X
[email protected] X X
[email protected] X
[email protected] X X X
[email protected] X X X
[email protected] X
[email protected] X X
[email protected] X
[email protected] X
[email protected] X
[email protected] X
[email protected] X
[email protected] X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X X X
[email protected] X X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X
[email protected]+wasi-snapshot-preview1 X X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X X
[email protected] X
[email protected] X X
3 changes: 3 additions & 0 deletions integrations/cloudfilter/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Apache OpenDAL™ Cloud Filter Integration

`cloudfilter_opendal` integrates OpenDAL with [cloud sync engines](https://learn.microsoft.com/en-us/windows/win32/cfapi/build-a-cloud-file-sync-engine). It provides a way to access various cloud storage on Windows.
20 changes: 20 additions & 0 deletions integrations/cloudfilter/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.

pub fn hello() {
println!("hello world");
}

0 comments on commit 1770aa2

Please sign in to comment.