Skip to content

Commit

Permalink
Release 0.1.50
Browse files Browse the repository at this point in the history
[email protected]
[email protected]

Generated by cargo-workspaces
  • Loading branch information
labra committed Oct 31, 2024
1 parent 5c359e3 commit e499cd7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pyrudof"
version = "0.1.49"
version = "0.1.50"
documentation = "https://rudof-project.github.io/rudof/"
readme = "README.md"
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion rudof_lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rudof_lib"
version = "0.1.49"
version = "0.1.50"
authors.workspace = true
description.workspace = true
documentation = "https://docs.rs/rudof_lib"
Expand Down
7 changes: 6 additions & 1 deletion rudof_lib/src/rudof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use std::path::Path;
use std::str::FromStr;
use std::{io, result};

// This structs are re-exported as they may be needed in main
// These are the structs that are publicly re-exported
pub use dctap::{DCTAPFormat, DCTap as DCTAP};
pub use iri_s::iri;
pub use shacl_ast::ShaclFormat;
Expand All @@ -34,6 +34,7 @@ pub use shapes_converter::UmlGenerationMode;
pub use shex_ast::Schema as ShExSchema;

/// This represents the public API to interact with `rudof`
#[derive(Debug)]
pub struct Rudof {
config: RudofConfig,
rdf_data: RdfData,
Expand All @@ -45,6 +46,10 @@ pub struct Rudof {
dctap: Option<DCTAP>,
}

// TODO: We added this declaration so PyRudof can contain Rudof and be Send as required by PyO3
// TODO: Review what are the consequences of this declaration
unsafe impl Send for Rudof {}

impl Rudof {
pub fn new(config: &RudofConfig) -> Rudof {
Rudof {
Expand Down

0 comments on commit e499cd7

Please sign in to comment.