mago-composer 1.22.0

Parses and models composer.json files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::str::FromStr;

use serde_json::Error;
use serde_json::from_str;

pub use crate::schema::*;

pub mod schema;

impl FromStr for ComposerPackage {
    type Err = Error;

    fn from_str(s: &str) -> Result<Self, Self::Err> {
        from_str(s)
    }
}