You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44-8Lines changed: 44 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -479,18 +479,54 @@ This behavior can also be turned off by setting `default_features = false`.
479
479
480
480
### List of Features
481
481
482
-
This is the full list of features that is defined by `Plotters` crate. Use `default_features = false` to disable those default enabled features, and then you should be able to cherry-pick what features you want to include into `Plotters` crate.
482
+
This is the full list of features that is defined by `Plotters` crate.
483
+
Use `default_features = false` to disable those default enabled features,
484
+
and then you should be able to cherry-pick what features you want to include into `Plotters` crate.
485
+
By doing so, you can minimize the number of dependencies down to only `itertools` and compile time is less than 6s.
486
+
487
+
The following list is a complete list of features that can be opt in and out.
488
+
489
+
- Drawing backends related features
483
490
484
491
| Name | Description | Additional Dependency |Default?|
485
492
|---------|--------------|--------|------------|
486
-
| image\_encoder | Allow `BitMapBackend` save the result to bitmap files | image | Yes |
487
-
| svg | Enable `SVGBackend` Support | svg | Yes |
488
-
| datetime| Enable Date and Time Coordinate Support| chrono | Yes |
493
+
| image\_encoder | Allow `BitMapBackend` save the result to bitmap files | image, rusttype, font-kit | Yes |
Copy file name to clipboardExpand all lines: doc-template/readme.template.md
+44-8Lines changed: 44 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -245,18 +245,54 @@ This behavior can also be turned off by setting `default_features = false`.
245
245
246
246
### List of Features
247
247
248
-
This is the full list of features that is defined by `Plotters` crate. Use `default_features = false` to disable those default enabled features, and then you should be able to cherry-pick what features you want to include into `Plotters` crate.
248
+
This is the full list of features that is defined by `Plotters` crate.
249
+
Use `default_features = false` to disable those default enabled features,
250
+
and then you should be able to cherry-pick what features you want to include into `Plotters` crate.
251
+
By doing so, you can minimize the number of dependencies down to only `itertools` and compile time is less than 6s.
252
+
253
+
The following list is a complete list of features that can be opt in and out.
254
+
255
+
- Drawing backends related features
249
256
250
257
| Name | Description | Additional Dependency |Default?|
251
258
|---------|--------------|--------|------------|
252
-
| image\_encoder | Allow `BitMapBackend` save the result to bitmap files | image | Yes |
253
-
| svg | Enable `SVGBackend` Support | svg | Yes |
254
-
| datetime| Enable Date and Time Coordinate Support| chrono | Yes |
259
+
| image\_encoder | Allow `BitMapBackend` save the result to bitmap files | image, rusttype, font-kit | Yes |
Copy file name to clipboardExpand all lines: src/lib.rs
+44-8Lines changed: 44 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -600,18 +600,54 @@ This behavior can also be turned off by setting `default_features = false`.
600
600
601
601
### List of Features
602
602
603
-
This is the full list of features that is defined by `Plotters` crate. Use `default_features = false` to disable those default enabled features, and then you should be able to cherry-pick what features you want to include into `Plotters` crate.
603
+
This is the full list of features that is defined by `Plotters` crate.
604
+
Use `default_features = false` to disable those default enabled features,
605
+
and then you should be able to cherry-pick what features you want to include into `Plotters` crate.
606
+
By doing so, you can minimize the number of dependencies down to only `itertools` and compile time is less than 6s.
607
+
608
+
The following list is a complete list of features that can be opt in and out.
609
+
610
+
- Drawing backends related features
604
611
605
612
| Name | Description | Additional Dependency |Default?|
606
613
|---------|--------------|--------|------------|
607
-
| image\_encoder | Allow `BitMapBackend` save the result to bitmap files | image | Yes |
608
-
| svg | Enable `SVGBackend` Support | svg | Yes |
609
-
| datetime| Enable Date and Time Coordinate Support| chrono | Yes |
614
+
| image\_encoder | Allow `BitMapBackend` save the result to bitmap files | image, rusttype, font-kit | Yes |
0 commit comments