aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml7
-rw-r--r--README.md9
2 files changed, 12 insertions, 4 deletions
diff --git a/Cargo.toml b/Cargo.toml
index b0b1970..4eb2b21 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "germ"
-version = "0.2.5"
+version = "0.2.6"
authors = ["Fuwn <[email protected]>"]
edition = "2021"
description = "The Ultimate Gemini Toolkit."
@@ -17,12 +17,13 @@ categories = ["encoding"]
[features]
ast = []
convert = ["ast"]
-request = ["rustls", "url", "anyhow"]
+default = ["ast", "convert", "meta", "request"]
meta = []
+request = ["rustls", "url", "anyhow"]
[dependencies]
+anyhow = { version = "1.0.57", optional = true } # `Result`
rustls = { version = "0.20.5", features = [
"dangerous_configuration"
], optional = true } # TLS
url = { version = "2.2.2", optional = true } # URL Validation
-anyhow = { version = "1.0.57", optional = true } # `Result`
diff --git a/README.md b/README.md
index e7e2730..f36e6c2 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,14 @@ Current version: [![crates.io](https://img.shields.io/crates/v/germ.svg)](https:
# Cargo.toml
[dependencies]
-germ = "*" # Use current version show above!
+# To enable all features
+# germ = "*" # Use current version show above!
+
+# To enable certain features
+[dependencies.germ]
+version = "*" # Use current version show above!
+default-features = false
+features = ["ast"] # Enable the features you would like to use!
```
### Features