Expand description
§xtax — Facade crate for the xtax Rust infrastructure ecosystem
xtax is a lightweight re-export crate. It contains no business logic of its own.
Instead, it re-exports selected subcrates behind Cargo feature flags, giving you
a single dependency with composable, opt-in functionality.
§Usage
By default, the xtax facade enables no functionality:
[dependencies]
xtax = "0.1"Enable only the parts you need.
§Blob storage with filesystem backend
[dependencies]
xtax = { version = "0.1", features = ["blob-storage"] }ⓘ
use xtax::blob_storage::BlobStoreBuilder;§Blob storage with S3 backend
[dependencies]
xtax = { version = "0.1", features = ["blob-storage-s3"] }ⓘ
use xtax::blob_storage::BlobStoreBuilder;§Encryption provider interface
[dependencies]
xtax = { version = "0.1", features = ["encryption"] }ⓘ
use xtax::encryption::EncryptionProvider;Or depend on subcrates directly — both paths are valid:
[dependencies]
xtax-blob-storage = "0.1"ⓘ
use xtax_blob_storage::BlobStoreBuilder;§Feature flags
| Feature | Crate re-exported | Description |
|---|---|---|
blob-storage | xtax-blob-storage | Blob storage with filesystem backend |
blob-storage-s3 | xtax-blob-storage | Blob storage with S3 backend enabled |
blob-storage-full | xtax-blob-storage | Enables all blob-storage backends exposed here |
encryption | xtax-encryption | Trait-only encryption provider interface |
full | all facade features | Enables all currently exposed facade features |
§Subcrate documentation
§Architecture
- The
xtaxfacade crate contains no logic. - Each subcrate has standalone value and can be used without the facade.
- Subcrates must not depend on the facade crate.
- Dependency direction is always:
xtax→ subcrate, never the reverse.