diff --git a/Cargo.lock b/Cargo.lock index 8e3f981af..59545954c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2602,7 +2602,7 @@ dependencies = [ [[package]] name = "sargon" -version = "1.1.11" +version = "1.1.12" dependencies = [ "actix-rt", "aes-gcm", diff --git a/apple/Sources/Sargon/Extensions/SampleValues/Prelude/Decimal192+SampleValues.swift b/apple/Sources/Sargon/Extensions/SampleValues/Prelude/Decimal192+SampleValues.swift index 5e2c5f168..947325c97 100644 --- a/apple/Sources/Sargon/Extensions/SampleValues/Prelude/Decimal192+SampleValues.swift +++ b/apple/Sources/Sargon/Extensions/SampleValues/Prelude/Decimal192+SampleValues.swift @@ -5,17 +5,5 @@ import SargonUniFFI extension Decimal192 { public static let sample: Self = 123456789 public static let sampleOther: Self = Self.max - - public static let one: Self = 1 - public static let two: Self = 2 - public static let three: Self = 3 - public static let four: Self = 4 - public static let five: Self = 5 - public static let six: Self = 6 - public static let seven: Self = 7 - public static let eight: Self = 8 - public static let nine: Self = 9 - public static let ten: Self = 10 } - #endif diff --git a/apple/Sources/Sargon/Extensions/Swiftified/Prelude/Decimal192+Swiftified.swift b/apple/Sources/Sargon/Extensions/Swiftified/Prelude/Decimal192+Swiftified.swift index 7e413522d..592ea6c3f 100644 --- a/apple/Sources/Sargon/Extensions/Swiftified/Prelude/Decimal192+Swiftified.swift +++ b/apple/Sources/Sargon/Extensions/Swiftified/Prelude/Decimal192+Swiftified.swift @@ -9,7 +9,6 @@ extension Decimal192: ExpressibleByIntegerLiteral { } } - extension Decimal192: Comparable { public static func > (lhs: Self, rhs: Self) -> Bool { lhs.greaterThan(other: rhs) @@ -102,3 +101,16 @@ extension Decimal192: Codable { try self.init(string) } } + +extension Decimal192 { + public static let one: Self = 1 + public static let two: Self = 2 + public static let three: Self = 3 + public static let four: Self = 4 + public static let five: Self = 5 + public static let six: Self = 6 + public static let seven: Self = 7 + public static let eight: Self = 8 + public static let nine: Self = 9 + public static let ten: Self = 10 +} diff --git a/crates/sargon/Cargo.toml b/crates/sargon/Cargo.toml index db37e97bc..f3d24f1a7 100644 --- a/crates/sargon/Cargo.toml +++ b/crates/sargon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sargon" -version = "1.1.11" +version = "1.1.12" edition = "2021" build = "build.rs"