Skip to content

Commit

Permalink
Hide internals of values (#663)
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog authored Feb 17, 2024
1 parent f026b9d commit 1c23f2e
Show file tree
Hide file tree
Showing 120 changed files with 4,262 additions and 4,384 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
needs: basics
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.70
- uses: dtolnay/rust-toolchain@1.74
- uses: Swatinem/rust-cache@v2
- run: cargo build --workspace

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: ["1.70", stable]
rust: ['1.74', stable]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
Expand Down
5 changes: 1 addition & 4 deletions benches/benches/benchmarks/aoc_2020_19b.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ fn aoc_2020_19b(b: &mut Criterion) {
fn clone(self) {
Self {
string: self.string,
position: self.position
position: clone(self.position)
}
}

Expand All @@ -178,7 +178,6 @@ fn aoc_2020_19b(b: &mut Criterion) {
fn completed(self) {
self.position == self.string.len()
}

}

enum Rule {
Expand All @@ -187,7 +186,6 @@ fn aoc_2020_19b(b: &mut Criterion) {
Seq(vs),
}


impl Rule {
fn validate(self, rules, str) {
let it = StrIter::new(str);
Expand Down Expand Up @@ -217,7 +215,6 @@ fn aoc_2020_19b(b: &mut Criterion) {
messages.iter().filter(|v| root.validate(rules, v)).count()
}


pub fn main(n) {
let r = get_rules();
let t1 = validate_all(r, n);
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-alloc-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "rune-alloc-macros"
version = "0.13.1"
authors = ["John-John Tedro <[email protected]>"]
edition = "2021"
rust-version = "1.70"
rust-version = "1.74"
description = "Macros for alloc crate of the Rune Language, an embeddable dynamic programming language for Rust."
documentation = "https://docs.rs/rune"
readme = "README.md"
Expand Down
3 changes: 2 additions & 1 deletion crates/rune-alloc-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! <a href="https://docs.rs/rune-alloc-macros"><img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-rune--alloc--macros-66c2a5?style=for-the-badge&logoColor=white&logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmNWY1ZjUiIGQ9Ik00ODguNiAyNTAuMkwzOTIgMjE0VjEwNS41YzAtMTUtOS4zLTI4LjQtMjMuNC0zMy43bC0xMDAtMzcuNWMtOC4xLTMuMS0xNy4xLTMuMS0yNS4zIDBsLTEwMCAzNy41Yy0xNC4xIDUuMy0yMy40IDE4LjctMjMuNCAzMy43VjIxNGwtOTYuNiAzNi4yQzkuMyAyNTUuNSAwIDI2OC45IDAgMjgzLjlWMzk0YzAgMTMuNiA3LjcgMjYuMSAxOS45IDMyLjJsMTAwIDUwYzEwLjEgNS4xIDIyLjEgNS4xIDMyLjIgMGwxMDMuOS01MiAxMDMuOSA1MmMxMC4xIDUuMSAyMi4xIDUuMSAzMi4yIDBsMTAwLTUwYzEyLjItNi4xIDE5LjktMTguNiAxOS45LTMyLjJWMjgzLjljMC0xNS05LjMtMjguNC0yMy40LTMzLjd6TTM1OCAyMTQuOGwtODUgMzEuOXYtNjguMmw4NS0zN3Y3My4zek0xNTQgMTA0LjFsMTAyLTM4LjIgMTAyIDM4LjJ2LjZsLTEwMiA0MS40LTEwMi00MS40di0uNnptODQgMjkxLjFsLTg1IDQyLjV2LTc5LjFsODUtMzguOHY3NS40em0wLTExMmwtMTAyIDQxLjQtMTAyLTQxLjR2LS42bDEwMi0zOC4yIDEwMiAzOC4ydi42em0yNDAgMTEybC04NSA0Mi41di03OS4xbDg1LTM4Ljh2NzUuNHptMC0xMTJsLTEwMiA0MS40LTEwMi00MS40di0uNmwxMDItMzguMiAxMDIgMzguMnYuNnoiPjwvcGF0aD48L3N2Zz4K" height="20"></a>
//! <a href="https://discord.gg/v5AeNkT"><img alt="chat on discord" src="https://img.shields.io/discord/558644981137670144.svg?logo=discord&style=flat-square" height="20"></a>
//! <br>
//! Minimum support: Rust <b>1.70+</b>.
//! Minimum support: Rust <b>1.74+</b>.
//! <br>
//! <br>
//! <a href="https://rune-rs.github.io"><b>Visit the site 🌐</b></a>
Expand All @@ -23,6 +23,7 @@
//! This is part of the [Rune Language](https://rune-rs.github.io).
#![allow(clippy::manual_map)]
#![allow(clippy::enum_variant_names)]

extern crate proc_macro;

Expand Down
14 changes: 13 additions & 1 deletion crates/rune-alloc-macros/src/try_clone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ use crate::context::{Context, Tokens};

pub(super) fn expand(mut input: syn::DeriveInput) -> Result<TokenStream, Vec<syn::Error>> {
let cx = Context::new();
let tokens = cx.tokens_with_module(None);

let attr = parse_type_attr(&cx, &input.attrs);

let tokens = cx.tokens_with_module(attr.module.as_ref());

if !attr.predicates.is_empty() {
input
.generics
Expand Down Expand Up @@ -161,6 +162,7 @@ pub(super) fn expand(mut input: syn::DeriveInput) -> Result<TokenStream, Vec<syn
struct TypeAttr {
predicates: syn::punctuated::Punctuated<syn::WherePredicate, syn::Token![,]>,
copy: bool,
module: Option<syn::Path>,
}

fn parse_type_attr(cx: &Context, input: &[syn::Attribute]) -> TypeAttr {
Expand All @@ -186,6 +188,16 @@ fn parse_type_attr(cx: &Context, input: &[syn::Attribute]) -> TypeAttr {
return Ok(());
}

if parser.path.is_ident("crate") {
if parser.input.parse::<Option<syn::Token![=]>>()?.is_some() {
attr.module = Some(parser.input.parse::<syn::Path>()?);
} else {
attr.module = Some(syn::parse_quote!(crate));
}

return Ok(());
}

Err(syn::Error::new(
parser.input.span(),
"unsupported attribute",
Expand Down
4 changes: 2 additions & 2 deletions crates/rune-alloc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "rune-alloc"
version = "0.13.1"
authors = ["John-John Tedro <[email protected]>"]
edition = "2021"
rust-version = "1.70"
rust-version = "1.74"
description = "The Rune Language, an embeddable dynamic programming language for Rust."
documentation = "https://docs.rs/rune"
readme = "README.md"
Expand All @@ -22,7 +22,7 @@ alloc = []
rune-alloc-macros = { version = "=0.13.1", path = "../rune-alloc-macros" }

serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
ahash = { version = "0.8.3", default-features = false }
ahash = { version = "0.8.8", default-features = false }
pin-project = "1.1.0"

[dev-dependencies]
Expand Down
3 changes: 3 additions & 0 deletions crates/rune-alloc/src/clone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ impl_copy!(::core::num::NonZeroI32);
impl_copy!(::core::num::NonZeroI64);
impl_copy!(::core::num::NonZeroI128);

#[cfg(feature = "std")]
impl_copy!(::std::process::ExitStatus);

impl<T, E> TryClone for ::core::result::Result<T, E>
where
T: TryClone,
Expand Down
8 changes: 8 additions & 0 deletions crates/rune-alloc/src/error.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//! Error types used by rune alloc.
use core::convert::Infallible;
use core::fmt;

use crate::alloc::AllocError;
Expand Down Expand Up @@ -57,6 +58,13 @@ impl From<AllocError> for Error {
}
}

impl From<Infallible> for Error {
#[inline(always)]
fn from(value: Infallible) -> Self {
match value {}
}
}

impl fmt::Display for Error {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match self {
Expand Down
5 changes: 1 addition & 4 deletions crates/rune-alloc/src/hashbrown/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,7 @@ where
Q: Hash,
S: BuildHasher,
{
use core::hash::Hasher;
let mut state = hash_builder.build_hasher();
val.hash(&mut state);
state.finish()
hash_builder.hash_one(val)
}

#[cfg(rune_nightly)]
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-alloc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! <a href="https://docs.rs/rune-alloc"><img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-rune--alloc-66c2a5?style=for-the-badge&logoColor=white&logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmNWY1ZjUiIGQ9Ik00ODguNiAyNTAuMkwzOTIgMjE0VjEwNS41YzAtMTUtOS4zLTI4LjQtMjMuNC0zMy43bC0xMDAtMzcuNWMtOC4xLTMuMS0xNy4xLTMuMS0yNS4zIDBsLTEwMCAzNy41Yy0xNC4xIDUuMy0yMy40IDE4LjctMjMuNCAzMy43VjIxNGwtOTYuNiAzNi4yQzkuMyAyNTUuNSAwIDI2OC45IDAgMjgzLjlWMzk0YzAgMTMuNiA3LjcgMjYuMSAxOS45IDMyLjJsMTAwIDUwYzEwLjEgNS4xIDIyLjEgNS4xIDMyLjIgMGwxMDMuOS01MiAxMDMuOSA1MmMxMC4xIDUuMSAyMi4xIDUuMSAzMi4yIDBsMTAwLTUwYzEyLjItNi4xIDE5LjktMTguNiAxOS45LTMyLjJWMjgzLjljMC0xNS05LjMtMjguNC0yMy40LTMzLjd6TTM1OCAyMTQuOGwtODUgMzEuOXYtNjguMmw4NS0zN3Y3My4zek0xNTQgMTA0LjFsMTAyLTM4LjIgMTAyIDM4LjJ2LjZsLTEwMiA0MS40LTEwMi00MS40di0uNnptODQgMjkxLjFsLTg1IDQyLjV2LTc5LjFsODUtMzguOHY3NS40em0wLTExMmwtMTAyIDQxLjQtMTAyLTQxLjR2LS42bDEwMi0zOC4yIDEwMiAzOC4ydi42em0yNDAgMTEybC04NSA0Mi41di03OS4xbDg1LTM4Ljh2NzUuNHptMC0xMTJsLTEwMiA0MS40LTEwMi00MS40di0uNmwxMDItMzguMiAxMDIgMzguMnYuNnoiPjwvcGF0aD48L3N2Zz4K" height="20"></a>
//! <a href="https://discord.gg/v5AeNkT"><img alt="chat on discord" src="https://img.shields.io/discord/558644981137670144.svg?logo=discord&style=flat-square" height="20"></a>
//! <br>
//! Minimum support: Rust <b>1.70+</b>.
//! Minimum support: Rust <b>1.74+</b>.
//! <br>
//! <br>
//! <a href="https://rune-rs.github.io"><b>Visit the site 🌐</b></a>
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "rune-cli"
version = "0.13.1"
authors = ["John-John Tedro <[email protected]>"]
edition = "2021"
rust-version = "1.70"
rust-version = "1.74"
description = "An interpreter for the Rune Language, an embeddable dynamic programming language for Rust."
documentation = "https://docs.rs/rune"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! <a href="https://docs.rs/rune-cli"><img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-rune--cli-66c2a5?style=for-the-badge&logoColor=white&logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmNWY1ZjUiIGQ9Ik00ODguNiAyNTAuMkwzOTIgMjE0VjEwNS41YzAtMTUtOS4zLTI4LjQtMjMuNC0zMy43bC0xMDAtMzcuNWMtOC4xLTMuMS0xNy4xLTMuMS0yNS4zIDBsLTEwMCAzNy41Yy0xNC4xIDUuMy0yMy40IDE4LjctMjMuNCAzMy43VjIxNGwtOTYuNiAzNi4yQzkuMyAyNTUuNSAwIDI2OC45IDAgMjgzLjlWMzk0YzAgMTMuNiA3LjcgMjYuMSAxOS45IDMyLjJsMTAwIDUwYzEwLjEgNS4xIDIyLjEgNS4xIDMyLjIgMGwxMDMuOS01MiAxMDMuOSA1MmMxMC4xIDUuMSAyMi4xIDUuMSAzMi4yIDBsMTAwLTUwYzEyLjItNi4xIDE5LjktMTguNiAxOS45LTMyLjJWMjgzLjljMC0xNS05LjMtMjguNC0yMy40LTMzLjd6TTM1OCAyMTQuOGwtODUgMzEuOXYtNjguMmw4NS0zN3Y3My4zek0xNTQgMTA0LjFsMTAyLTM4LjIgMTAyIDM4LjJ2LjZsLTEwMiA0MS40LTEwMi00MS40di0uNnptODQgMjkxLjFsLTg1IDQyLjV2LTc5LjFsODUtMzguOHY3NS40em0wLTExMmwtMTAyIDQxLjQtMTAyLTQxLjR2LS42bDEwMi0zOC4yIDEwMiAzOC4ydi42em0yNDAgMTEybC04NSA0Mi41di03OS4xbDg1LTM4Ljh2NzUuNHptMC0xMTJsLTEwMiA0MS40LTEwMi00MS40di0uNmwxMDItMzguMiAxMDIgMzguMnYuNnoiPjwvcGF0aD48L3N2Zz4K" height="20"></a>
//! <a href="https://discord.gg/v5AeNkT"><img alt="chat on discord" src="https://img.shields.io/discord/558644981137670144.svg?logo=discord&style=flat-square" height="20"></a>
//! <br>
//! Minimum support: Rust <b>1.70+</b>.
//! Minimum support: Rust <b>1.74+</b>.
//! <br>
//! <br>
//! <a href="https://rune-rs.github.io"><b>Visit the site 🌐</b></a>
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "rune-core"
version = "0.13.1"
authors = ["John-John Tedro <[email protected]>"]
edition = "2021"
rust-version = "1.70"
rust-version = "1.74"
description = "Core components for the Rune Language, an embeddable dynamic programming language for Rust."
documentation = "https://docs.rs/rune"
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions crates/rune-core/src/item/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub(super) struct Tag(pub(super) u8);
/// Panics if the byte is not available.
pub(super) fn read_tag(content: &[u8]) -> (Tag, usize) {
let n = NativeEndian::read_u16(content);
let n = usize::try_from(n).unwrap();
let n = usize::from(n);
(Tag((n & TYPE_MASK) as u8), n >> TYPE_BITS)
}

Expand All @@ -45,7 +45,7 @@ pub(super) fn write_tag<A: Allocator>(
Tag(tag): Tag,
n: usize,
) -> alloc::Result<()> {
let tag = usize::try_from(tag).expect("tag out of bounds");
let tag = usize::from(tag);
debug_assert!(tag <= TYPE_MASK);
assert!(
n < MAX_DATA,
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! <a href="https://docs.rs/rune-core"><img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-rune--core-66c2a5?style=for-the-badge&logoColor=white&logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmNWY1ZjUiIGQ9Ik00ODguNiAyNTAuMkwzOTIgMjE0VjEwNS41YzAtMTUtOS4zLTI4LjQtMjMuNC0zMy43bC0xMDAtMzcuNWMtOC4xLTMuMS0xNy4xLTMuMS0yNS4zIDBsLTEwMCAzNy41Yy0xNC4xIDUuMy0yMy40IDE4LjctMjMuNCAzMy43VjIxNGwtOTYuNiAzNi4yQzkuMyAyNTUuNSAwIDI2OC45IDAgMjgzLjlWMzk0YzAgMTMuNiA3LjcgMjYuMSAxOS45IDMyLjJsMTAwIDUwYzEwLjEgNS4xIDIyLjEgNS4xIDMyLjIgMGwxMDMuOS01MiAxMDMuOSA1MmMxMC4xIDUuMSAyMi4xIDUuMSAzMi4yIDBsMTAwLTUwYzEyLjItNi4xIDE5LjktMTguNiAxOS45LTMyLjJWMjgzLjljMC0xNS05LjMtMjguNC0yMy40LTMzLjd6TTM1OCAyMTQuOGwtODUgMzEuOXYtNjguMmw4NS0zN3Y3My4zek0xNTQgMTA0LjFsMTAyLTM4LjIgMTAyIDM4LjJ2LjZsLTEwMiA0MS40LTEwMi00MS40di0uNnptODQgMjkxLjFsLTg1IDQyLjV2LTc5LjFsODUtMzguOHY3NS40em0wLTExMmwtMTAyIDQxLjQtMTAyLTQxLjR2LS42bDEwMi0zOC4yIDEwMiAzOC4ydi42em0yNDAgMTEybC04NSA0Mi41di03OS4xbDg1LTM4Ljh2NzUuNHptMC0xMTJsLTEwMiA0MS40LTEwMi00MS40di0uNmwxMDItMzguMiAxMDIgMzguMnYuNnoiPjwvcGF0aD48L3N2Zz4K" height="20"></a>
//! <a href="https://discord.gg/v5AeNkT"><img alt="chat on discord" src="https://img.shields.io/discord/558644981137670144.svg?logo=discord&style=flat-square" height="20"></a>
//! <br>
//! Minimum support: Rust <b>1.70+</b>.
//! Minimum support: Rust <b>1.74+</b>.
//! <br>
//! <br>
//! <a href="https://rune-rs.github.io"><b>Visit the site 🌐</b></a>
Expand Down
24 changes: 24 additions & 0 deletions crates/rune-core/src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,4 +494,28 @@ define! {
repr: Some("let output = hash($value)"),
doc: ["Hash the given value."],
};

/// Protocol used when cloning a value.
pub const [CLONE, CLONE_HASH]: Protocol = Protocol {
name: "clone",
hash: 0x2af2c875e36971eu64,
repr: Some("let output = clone($value)"),
doc: ["Clone the given value."],
};

/// Protocol used when cloning a value.
pub const [SIZE_HINT, SIZE_HINT_HASH]: Protocol = Protocol {
name: "size_hint",
hash: 0x3de0975a7000dau64,
repr: Some("let output = $value.size_hint()"),
doc: ["Get the size hint of the given iterator."],
};

/// Protocol used when cloning a value.
pub const [NEXT_BACK, NEXT_BACK_HASH]: Protocol = Protocol {
name: "next_back",
hash: 0x91149fef42c0a8aeu64,
repr: Some("let output = $value.next_back()"),
doc: ["Get the next value from the back of the iterator."],
};
}
2 changes: 1 addition & 1 deletion crates/rune-languageserver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "rune-languageserver"
version = "0.13.1"
authors = ["John-John Tedro <[email protected]>"]
edition = "2021"
rust-version = "1.70"
rust-version = "1.74"
description = "A language server for the Rune Language, an embeddable dynamic programming language for Rust."
documentation = "https://docs.rs/rune"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-languageserver/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! <a href="https://docs.rs/rune-languageserver"><img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-rune--languageserver-66c2a5?style=for-the-badge&logoColor=white&logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmNWY1ZjUiIGQ9Ik00ODguNiAyNTAuMkwzOTIgMjE0VjEwNS41YzAtMTUtOS4zLTI4LjQtMjMuNC0zMy43bC0xMDAtMzcuNWMtOC4xLTMuMS0xNy4xLTMuMS0yNS4zIDBsLTEwMCAzNy41Yy0xNC4xIDUuMy0yMy40IDE4LjctMjMuNCAzMy43VjIxNGwtOTYuNiAzNi4yQzkuMyAyNTUuNSAwIDI2OC45IDAgMjgzLjlWMzk0YzAgMTMuNiA3LjcgMjYuMSAxOS45IDMyLjJsMTAwIDUwYzEwLjEgNS4xIDIyLjEgNS4xIDMyLjIgMGwxMDMuOS01MiAxMDMuOSA1MmMxMC4xIDUuMSAyMi4xIDUuMSAzMi4yIDBsMTAwLTUwYzEyLjItNi4xIDE5LjktMTguNiAxOS45LTMyLjJWMjgzLjljMC0xNS05LjMtMjguNC0yMy40LTMzLjd6TTM1OCAyMTQuOGwtODUgMzEuOXYtNjguMmw4NS0zN3Y3My4zek0xNTQgMTA0LjFsMTAyLTM4LjIgMTAyIDM4LjJ2LjZsLTEwMiA0MS40LTEwMi00MS40di0uNnptODQgMjkxLjFsLTg1IDQyLjV2LTc5LjFsODUtMzguOHY3NS40em0wLTExMmwtMTAyIDQxLjQtMTAyLTQxLjR2LS42bDEwMi0zOC4yIDEwMiAzOC4ydi42em0yNDAgMTEybC04NSA0Mi41di03OS4xbDg1LTM4Ljh2NzUuNHptMC0xMTJsLTEwMiA0MS40LTEwMi00MS40di0uNmwxMDItMzguMiAxMDIgMzguMnYuNnoiPjwvcGF0aD48L3N2Zz4K" height="20"></a>
//! <a href="https://discord.gg/v5AeNkT"><img alt="chat on discord" src="https://img.shields.io/discord/558644981137670144.svg?logo=discord&style=flat-square" height="20"></a>
//! <br>
//! Minimum support: Rust <b>1.70+</b>.
//! Minimum support: Rust <b>1.74+</b>.
//! <br>
//! <br>
//! <a href="https://rune-rs.github.io"><b>Visit the site 🌐</b></a>
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "rune-macros"
version = "0.13.1"
authors = ["John-John Tedro <[email protected]>"]
edition = "2021"
rust-version = "1.70"
rust-version = "1.74"
description = "Macros for the Rune Language, an embeddable dynamic programming language for Rust."
documentation = "https://docs.rs/rune"
readme = "README.md"
Expand Down
Loading

0 comments on commit 1c23f2e

Please sign in to comment.