Skip to content

Commit cc45d39

Browse files
committed
licensing information, crate prep
1 parent 9e64e6d commit cc45d39

8 files changed

Lines changed: 37 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
[package]
22
name = "xml2rdf"
33
version = "0.1.0"
4+
authors = ["bharath181 <bharathselvaraj18@gmail.com>", "Greg Hanson <g.isaac.hanson@gmail.com>"]
45
edition = "2021"
6+
license = "BSD-3-Clause"
7+
description = "Library for converting an XML file to N-Triple RDF"
8+
repository = "https://github.com/DeciSym/xml2rdf"
9+
readme = "README.md"
10+
keywords = ["xml", "rdf", "n-triples", "semantic-web", "converter", "parser"]
11+
categories = ["encoding", "parser-implementations", "science", "web-programming"]
512

613
[dependencies]
714
clap = { version = "4.5.30", features = ["derive"] }

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright (c) 2024-2025, Decisym, LLC
2+
# Licensed under the BSD 3-Clause License (see LICENSE file in the project root).
13

24
lint:
35
cargo install cargo-machete

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
CLI tool for converting XML to RDF
33

44
This Rust-based tool converts XML data into RDF format, utilizing the `oxrdf` crate for RDF graph handling and `xml-rs` for efficient XML parsing. Generated triples can either be added to an `oxrdf::Graph` or written directly to file.
5+
6+
## License
7+
This project is licensed under the BSD 3-Clause License - see the [LICENSE](LICENSE) file for details.

src/convert.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Copyright (c) 2024-2025, Decisym, LLC
3+
* Licensed under the BSD 3-Clause License (see LICENSE file in the project root).
4+
*/
5+
16
//! # XML2RDF Converter Library
27
//!
38
//! This library provides functionality for converting XML data into RDF format.

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1+
/*
2+
* Copyright (c) 2024-2025, Decisym, LLC
3+
* Licensed under the BSD 3-Clause License (see LICENSE file in the project root).
4+
*/
5+
16
pub mod convert;
27
pub mod writer;

src/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Copyright (c) 2024-2025, Decisym, LLC
3+
* Licensed under the BSD 3-Clause License (see LICENSE file in the project root).
4+
*/
5+
16
//! # XML2RDF Converter
27
//!
38
//! This is a Rust-based tool that converts XML data into RDF format. It uses the `xml-rs` crate

src/writer.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Copyright (c) 2024-2025, Decisym, LLC
3+
* Licensed under the BSD 3-Clause License (see LICENSE file in the project root).
4+
*/
5+
16
//! # XML2RDF Writer Library
27
//!
38
//! This library provides functionality for writing covnerted XML2RDF data.

tests/integration.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Copyright (c) 2024-2025, Decisym, LLC
3+
* Licensed under the BSD 3-Clause License (see LICENSE file in the project root).
4+
*/
5+
16
use oxrdf::Graph;
27
use oxrdfio::{RdfFormat, RdfParser};
38
use std::fs;

0 commit comments

Comments
 (0)