11[package ]
22name = " carapax"
3- description = " A Telegram Bot Framework"
43version = " 0.33.0"
5- authors = [" Ross Nomann <rossnomann@protonmail.com>" ]
64edition = " 2024"
7- readme = " ./README.md"
8- license = " MIT"
5+ description = " A Telegram Bot Framework"
96documentation = " https://docs.rs/carapax"
7+ readme = " ./README.md"
108repository = " https://github.com/tg-rs/carapax"
9+ license = " MIT"
1110
12- [features ]
13- # include nothing by default
14- default = []
15-
16- # enable everything
17- full = [" access" , " dialogue" , " ratelimit" , " session-redis" , " session-fs" , " webhook" ]
11+ [package .metadata .docs .rs ]
12+ all-features = true
13+ rustdoc-args = [" --cfg" , " nightly" ]
1814
19- access = [" dep:serde" ]
20- dialogue = [" session" , " dep:serde" ]
21- ratelimit = [" dep:governor" , " dep:nonzero_ext" ]
22- session = [" dep:seance" ]
23- session-fs = [" session" , " seance?/fs-backend" ]
24- session-redis = [" session" , " seance?/redis-backend" ]
25- webhook = [" tgbot/webhook" ]
15+ [[example ]]
16+ name = " app"
17+ required-features = [" full" ]
2618
2719[dependencies ]
2820futures-util = " 0.3"
@@ -43,14 +35,26 @@ tempfile = "3"
4335tokio = { version = " 1" , features = [" macros" , " rt-multi-thread" ] }
4436toml = " 0.9"
4537
38+ [features ]
39+ # include nothing by default
40+ default = []
41+ access = [" dep:serde" ]
42+ dialogue = [" dep:serde" , " session" ]
43+ # enable everything
44+ full = [
45+ " access" ,
46+ " dialogue" ,
47+ " ratelimit" ,
48+ " session-fs" ,
49+ " session-redis" ,
50+ " webhook"
51+ ]
52+ ratelimit = [" dep:governor" , " dep:nonzero_ext" ]
53+ session = [" dep:seance" ]
54+ session-fs = [" seance?/fs-backend" , " session" ]
55+ session-redis = [" seance?/redis-backend" , " session" ]
56+ webhook = [" tgbot/webhook" ]
57+
4658[lints .rust ]
4759missing_docs = " warn"
48- unexpected_cfgs = { level = " allow" , check-cfg = [' cfg(nightly)' ] }
49-
50- [[example ]]
51- name = " app"
52- required-features = [" full" ]
53-
54- [package .metadata .docs .rs ]
55- all-features = true
56- rustdoc-args = [" --cfg" , " nightly" ]
60+ unexpected_cfgs = { level = " allow" , check-cfg = [" cfg(nightly)" ] }
0 commit comments