ActivityStreams
A set of Traits and Types that make up the Activity Streams specification
Usage
Basic usage
For basic use, add the following to your Cargo.toml
# Cargo.toml
= "0.1"
And then use it in your project
extern crate activitystreams;
extern crate failure;
extern crate serde;
extern crate serde_derive;
extern crate serde_json;
use ;
use Error;
Advanced Usage
Add the required crates to your Cargo.toml
# Cargo.toml
= "0.1"
= "0.1"
= "1.0"
= "1.0"
= "1.0"
And then in your project
extern crate activitystreams_derive;
extern crate activitystreams_traits;
extern crate activitystreams_types;
extern crate failure;
extern crate serde;
extern crate serde_derive;
extern crate serde_json;
use ;
use ;
use Error;
/// Using the UnitString derive macro
///
/// This macro implements Serialize and Deserialize for the given type, making this type
/// represent the string "SomeKind" in JSON.
;
/// Using the Properties derive macro
///
/// This macro generates getters and setters for the associated fields.
Contributing
Feel free to open issues for anything you find an issue with. Please note that any contributed code will be licensed under the GPLv3.
License
Copyright © 2018 Riley Trautman
ActivityStreams is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ActivityStreams is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This file is part of ActivityStreams.
You should have received a copy of the GNU General Public License along with ActivityStreams. If not, see http://www.gnu.org/licenses/.