summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-01-02 04:04:41 -0600
committerAlejandro Soto <alejandro@34project.org>2022-01-02 04:08:43 -0600
commited5baeafd6eab65541f7b639e593cf23712e93f2 (patch)
treed90e5b278e0a58a66d77193b95be7cd5a383ac28 /src
parentd6dead36761f4731951026f48bc3a8d83260b9e5 (diff)
Remove unused feature flags
Diffstat (limited to '')
-rw-r--r--src/fuse/mod.rs10
-rw-r--r--src/lib.rs7
2 files changed, 1 insertions, 16 deletions
diff --git a/src/fuse/mod.rs b/src/fuse/mod.rs
index b4c31d0..2e20972 100644
--- a/src/fuse/mod.rs
+++ b/src/fuse/mod.rs
@@ -2,13 +2,8 @@ use crate::proto;
use std::marker::PhantomData;
pub mod io;
-
-#[doc(cfg(feature = "server"))]
-pub mod ops;
-
-#[doc(cfg(feature = "mount"))]
pub mod mount;
-
+pub mod ops;
pub mod session;
mod private_trait {
@@ -22,13 +17,11 @@ pub trait Operation<'o>: private_trait::Sealed + Sized {
pub type Op<'o, O = ops::Any> = (Request<'o, O>, Reply<'o, O>);
-#[doc(cfg(feature = "server"))]
pub struct Request<'o, O: Operation<'o>> {
header: proto::InHeader,
body: O::RequestBody,
}
-#[doc(cfg(feature = "server"))]
#[must_use]
pub struct Reply<'o, O: Operation<'o>> {
session: &'o session::Session,
@@ -37,7 +30,6 @@ pub struct Reply<'o, O: Operation<'o>> {
}
#[must_use]
-#[doc(cfg(feature = "server"))]
pub struct Done<'o>(PhantomData<&'o mut &'o ()>);
impl Done<'_> {
diff --git a/src/lib.rs b/src/lib.rs
index a6e6d36..dcff77c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -12,19 +12,12 @@ use std::time::{SystemTime, UNIX_EPOCH};
pub use nix;
-#[cfg(any(feature = "server", doc))]
-#[doc(cfg(feature = "server"))]
pub use crate::fuse::*;
-
-#[cfg(any(feature = "client", doc, test))]
-#[doc(cfg(feature = "client"))]
pub mod client;
mod proto;
mod util;
-#[cfg(any(feature = "server", doc))]
-#[doc(cfg(feature = "server"))]
mod fuse;
#[doc(no_inline)]