docs: crate features
This commit is contained in:
parent
727c9f14f7
commit
e33bb22fde
10
README.md
10
README.md
|
@ -173,6 +173,16 @@ println!("{}", to_string(&org).unwrap());
|
|||
// }
|
||||
```
|
||||
|
||||
## Features
|
||||
|
||||
By now, orgize provides three features:
|
||||
|
||||
+ `serde`: adds the ability to serialize `Org` and other elements using `serde`, enabled by default.
|
||||
|
||||
+ `extra-serde-info`: includes the position information while serializing, disabled by default.
|
||||
|
||||
+ `chrono`: adds the ability to convert `Datetime` into `chrono` struct, disabled by default.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
|
14
src/lib.rs
14
src/lib.rs
|
@ -215,6 +215,20 @@
|
|||
//! // }]
|
||||
//! // }
|
||||
//! ```
|
||||
//!
|
||||
//! # Features
|
||||
//!
|
||||
//! By now, orgize provides three features:
|
||||
//!
|
||||
//! + `serde`: adds the ability to serialize `Org` and other elements using `serde`, enabled by default.
|
||||
//!
|
||||
//! + `extra-serde-info`: includes the position information while serializing, disabled by default.
|
||||
//!
|
||||
//! + `chrono`: adds the ability to convert `Datetime` into `chrono` struct, disabled by default.
|
||||
//!
|
||||
//! # License
|
||||
//!
|
||||
//! MIT
|
||||
|
||||
pub mod elements;
|
||||
pub mod export;
|
||||
|
|
Loading…
Reference in a new issue