issues
search
nrc
/
derive-new
derive simple constructor functions for Rust structs
MIT License
525
stars
35
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Struct member is private
#68
aminballoon
opened
4 months ago
0
Added support for visibility on the generated new method
#67
nikessel
closed
2 months ago
1
Fix typo in README.md
#66
shellixyz
closed
2 months ago
0
implement `into` and `into_iter`
#65
OmarTawfik
closed
2 months ago
4
Fixed some typos
#64
fritzrehde
closed
12 months ago
0
Make a new release of what's on the main
#63
antimora
closed
12 months ago
1
[Feature] Support `impl Into<FieldTy>` for new parameters.
#62
xFrednet
closed
2 months ago
3
update to syn 2
#61
kadiwa4
closed
1 year ago
2
Feature Request: `fn new` for enums
#60
Lucretiel
opened
1 year ago
0
Add the capability of 'init-only' fields.
#59
chilabot
opened
1 year ago
0
Fix test build error and add Github CI
#58
byte-sourcerer
closed
1 year ago
1
Build fails
#57
byte-sourcerer
closed
1 year ago
0
Provide an option to derive `const` constructors
#56
Antikyth
opened
1 year ago
0
Struct with #[repr(C)] are not necessarily compatible with OpenCL layouts
#55
MoritzKn
closed
2 years ago
2
Remove unnecessary uses of cfg!(feature = std)
#54
Lucretiel
closed
2 years ago
1
Cannot assign #[new(value = "mystring".to_string())] to field
#53
Corfucinas
closed
2 years ago
2
update doc for 2018 edition for macro import
#52
Stargateur
closed
2 years ago
0
Option to make constructor `const`
#51
ids1024
opened
3 years ago
11
License file is missing from the crate
#50
sohankunkerkar
closed
3 years ago
1
tests: Restructure not to fail compile w/o feature = "std"
#49
kentfredric
closed
4 years ago
0
Add LICENSE file
#48
AlisCode
closed
4 years ago
0
Build fails on nightly
#47
Hoverbear
closed
2 years ago
1
Constructor with different name than "new"?
#46
Boscop
opened
5 years ago
1
#[new(value)} errors should not use Span::call_site()
#45
SOF3
closed
5 years ago
6
Update syn related dependencies to 1.0 and bump version
#44
Eijebong
closed
5 years ago
3
Feature Request: ::new(_) should support .into()
#43
zutils
opened
5 years ago
2
Allow no_std use with Default and PhantomData
#42
birkenfeld
closed
5 years ago
2
Update syn and bump version
#41
Eijebong
closed
6 years ago
4
#[derive(new)] on non-pub struct should give `fn new` the right visibility (required for 2018 idioms)
#40
wycats
opened
6 years ago
3
Enable Rust 1.15 on Travis CI
#39
hcpl
closed
6 years ago
1
Fix Travis CI nightly build
#38
hcpl
closed
6 years ago
2
Update `syn`, `quote` and `proc-macro2`
#37
hcpl
closed
6 years ago
4
Ignore unrelated field attributes
#36
siler
closed
6 years ago
3
Update `syn`, `quote` and `proc-macro2`
#35
hcpl
closed
6 years ago
1
`PhantomData` detection is brittle
#34
eira-fransham
opened
6 years ago
1
Error 'Invalid #[new] attribute'
#33
Undin
closed
6 years ago
2
Skip panic check on attributes other than '#[new]'
#32
topecongiro
closed
6 years ago
1
Panic using 0.5.1 in rustfmt: Invalid #[new] attribute, expected #[new(..)]
#31
topecongiro
closed
6 years ago
3
Apply Expression on Input Argument
#30
mmstick
opened
6 years ago
3
error: calls in constants are limited to constant functions, struct and enum constructors
#29
Boscop
opened
6 years ago
1
Update to syn 0.12
#28
alexcrichton
closed
6 years ago
2
Update to compiletest 0.3
#27
mbrubeck
closed
7 years ago
1
Fixes doc tests
#26
bkchr
closed
7 years ago
1
Fix unit tests
#25
nrc
closed
7 years ago
0
Support travis
#24
richard-uk1
closed
7 years ago
1
Add readme content to crate doc
#23
richard-uk1
closed
7 years ago
1
Update library version in readme
#22
Undin
closed
7 years ago
1
No enum support in crates.io version
#21
yuri91
closed
7 years ago
1
Does not work with closure members
#20
Boscop
opened
7 years ago
0
Propagate lint attributes from the parent item to the constructors
#19
aldanor
closed
7 years ago
8
Next