Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevils committed Dec 4, 2024
1 parent 434c674 commit 6d41a39
Show file tree
Hide file tree
Showing 5 changed files with 163 additions and 42 deletions.
185 changes: 152 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "osakit"
version = "0.2.3"
version = "0.2.4"
edition = "2021"
authors = ["Marat Dulin <mdevils@gmail.com>"]
description = "OSAKit macOS Framework adapted for Rust"
Expand All @@ -18,6 +18,8 @@ categories = [

[dependencies]
icrate = { version = "0.1.0", features = ["OSAKit", "OSAKit_OSAScript", "Foundation_NSString", "OSAKit_OSALanguage", "Foundation_NSURL", "OSAKit_OSALanguageInstance", "Foundation_NSDictionary", "Foundation_NSAppleEventDescriptor", "Foundation_NSValue", "Foundation_NSNumber", "Foundation_NSNull", "Foundation_NSDate"] }
objc2-foundation = { version = "0.2.2", features = ["NSAppleEventDescriptor", "NSArray", "NSDate", "NSDictionary", "NSEnumerator", "NSKeyValueCoding", "NSNull", "NSObject", "NSRange", "NSString", "NSValue"] }
objc2-osa-kit = { version = "0.2.2", features = ["OSALanguage", "OSALanguageInstance", "OSAScript"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
Expand Down
10 changes: 5 additions & 5 deletions src/script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ use crate::value::Value;
use icrate::objc2::rc::Id;
use icrate::objc2::runtime::AnyObject;
use icrate::objc2::ClassType;
use icrate::Foundation::{NSAppleEventDescriptor, NSDictionary, NSString, NSValue};
use icrate::OSAKit::{
OSALanguage, OSALanguageInstance, OSANull, OSAScript, OSAScriptErrorMessageKey,
OSAScriptErrorRangeKey,
use objc2_foundation::{NSAppleEventDescriptor, NSDictionary, NSString, NSValue};
use objc2_osa_kit::{
OSALanguage, OSALanguageInstance, OSAScript, OSAScriptErrorMessageKey, OSAScriptErrorRangeKey,
OSAStorageOptions,
};
use std::fmt::{Debug, Formatter};
use std::ops::Deref;
Expand Down Expand Up @@ -169,7 +169,7 @@ impl Script {
&script_ns_string,
None,
Some(ns_language_instance.deref()),
OSANull,
OSAStorageOptions::OSANull,
)
};
Self {
Expand Down
2 changes: 1 addition & 1 deletion src/value/input.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::Value;
use icrate::objc2::rc::Id;
use icrate::objc2::ClassType;
use icrate::Foundation::{NSArray, NSDictionary, NSNull, NSNumber, NSObject, NSString};
use objc2_foundation::{NSArray, NSDictionary, NSNull, NSNumber, NSObject, NSString};
use std::ops::Deref;
use thiserror::Error;

Expand Down
4 changes: 2 additions & 2 deletions src/value/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::value::Map;
use crate::Value;
use icrate::objc2::rc::Id;
use icrate::objc2::{msg_send, msg_send_id};
use icrate::Foundation::{NSAppleEventDescriptor, NSInteger};
use objc2_foundation::{NSAppleEventDescriptor, NSInteger};
use serde_json::Number;
use thiserror::Error;

Expand Down Expand Up @@ -208,7 +208,7 @@ mod test {
use crate::script::{Language, Script};
use crate::value::output::ScriptOutputConversionError;
use icrate::objc2::ClassType;
use icrate::Foundation::NSAppleEventDescriptor;
use objc2_foundation::NSAppleEventDescriptor;

#[test]
fn it_returns_null_for_empty_descriptor() {
Expand Down

0 comments on commit 6d41a39

Please sign in to comment.