diff --git a/ant-cli/Cargo.toml b/ant-cli/Cargo.toml index 7f1983fcfa..1bad9b6a61 100644 --- a/ant-cli/Cargo.toml +++ b/ant-cli/Cargo.toml @@ -29,7 +29,6 @@ ant-build-info = { path = "../ant-build-info", version = "0.1.19" } ant-logging = { path = "../ant-logging", version = "0.2.40" } ant-peers-acquisition = { path = "../ant-peers-acquisition", version = "0.5.7" } autonomi = { path = "../autonomi", version = "0.2.4", features = [ - "data", "fs", "vault", "registers", @@ -61,10 +60,7 @@ tracing = { version = "~0.1.26" } walkdir = "2.5.0" [dev-dependencies] -autonomi = { path = "../autonomi", version = "0.2.4", features = [ - "data", - "fs", -]} +autonomi = { path = "../autonomi", version = "0.2.4", features = ["fs"]} criterion = "0.5.1" eyre = "0.6.8" rand = { version = "~0.8.5", features = ["small_rng"] } diff --git a/autonomi/Cargo.toml b/autonomi/Cargo.toml index 88d61c711a..0e15996c27 100644 --- a/autonomi/Cargo.toml +++ b/autonomi/Cargo.toml @@ -14,16 +14,15 @@ name = "autonomi" crate-type = ["cdylib", "rlib"] [features] -data = [] -default = ["data", "vault"] -external-signer = ["ant-evm/external-signer", "data"] +default = ["vault"] +external-signer = ["ant-evm/external-signer"] extension-module = ["pyo3/extension-module"] -fs = ["tokio/fs", "data"] -full = ["data", "registers", "vault", "fs"] +fs = ["tokio/fs"] +full = ["registers", "vault", "fs"] local = ["ant-networking/local", "ant-evm/local"] loud = [] -registers = ["data"] -vault = ["data", "registers"] +registers = [] +vault = ["registers"] websockets = ["ant-networking/websockets"] [dependencies] diff --git a/autonomi/src/client/mod.rs b/autonomi/src/client/mod.rs index f039d097a0..f93fba1157 100644 --- a/autonomi/src/client/mod.rs +++ b/autonomi/src/client/mod.rs @@ -9,13 +9,9 @@ pub mod address; pub mod payment; -#[cfg(feature = "data")] pub mod archive; -#[cfg(feature = "data")] pub mod archive_private; -#[cfg(feature = "data")] pub mod data; -#[cfg(feature = "data")] pub mod data_private; #[cfg(feature = "external-signer")] pub mod external_signer; diff --git a/autonomi/src/lib.rs b/autonomi/src/lib.rs index b21c90fd42..9e288cd05e 100644 --- a/autonomi/src/lib.rs +++ b/autonomi/src/lib.rs @@ -26,7 +26,6 @@ //! //! - `fs`: Up/download files and directories from filesystem //! - `registers`: Operate on register datatype -//! - `data`: Operate on raw bytes and chunks //! - `vault`: Operate on Vault datatype //! - `full`: All of above //! - `local`: Discover local peers using mDNS. Useful for development. @@ -39,7 +38,6 @@ extern crate tracing; pub mod client; -#[cfg(feature = "data")] mod self_encryption; mod utils; diff --git a/autonomi/tests/put.rs b/autonomi/tests/put.rs index 4ec9f4dc87..401b5d3356 100644 --- a/autonomi/tests/put.rs +++ b/autonomi/tests/put.rs @@ -6,8 +6,6 @@ // KIND, either express or implied. Please review the Licences for the specific language governing // permissions and limitations relating to use of the SAFE Network Software. -#![cfg(feature = "data")] - use ant_logging::LogBuilder; use autonomi::Client; use eyre::Result;