this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix the example bot's package name, rename the macros subcrate to fluxer-rs-macros and set the version properly in the main Cargo.toml

roufpup 35d7b0fb 35889177

+43 -31
+37 -25
Cargo.lock
··· 526 526 checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" 527 527 528 528 [[package]] 529 - name = "colorbot" 530 - version = "0.1.0" 531 - dependencies = [ 532 - "env_logger", 533 - "fluxer-rs", 534 - "image", 535 - "log", 536 - "minreq", 537 - "tokio", 538 - "turso", 539 - ] 540 - 541 - [[package]] 542 529 name = "colorchoice" 543 530 version = "1.0.4" 544 531 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 940 927 checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" 941 928 942 929 [[package]] 930 + name = "example-bot" 931 + version = "0.1.0" 932 + dependencies = [ 933 + "env_logger", 934 + "fluxer-rs", 935 + "image", 936 + "log", 937 + "minreq", 938 + "tokio", 939 + "turso", 940 + ] 941 + 942 + [[package]] 943 943 name = "exr" 944 944 version = "1.74.0" 945 945 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1060 1060 "derive_builder", 1061 1061 "emojis", 1062 1062 "ezsockets", 1063 + "fluxer-rs-macros 0.1.0 (git+https://git.awoo.ren/roufpup/fluxer-rs)", 1063 1064 "log", 1064 - "macros", 1065 1065 "reqwest", 1066 1066 "serde", 1067 1067 "serde_json", 1068 1068 "serde_with", 1069 1069 "thiserror 2.0.18", 1070 1070 "tokio", 1071 + ] 1072 + 1073 + [[package]] 1074 + name = "fluxer-rs-macros" 1075 + version = "0.1.0" 1076 + dependencies = [ 1077 + "heck", 1078 + "log", 1079 + "proc-macro2", 1080 + "quote", 1081 + "syn 2.0.117", 1082 + ] 1083 + 1084 + [[package]] 1085 + name = "fluxer-rs-macros" 1086 + version = "0.1.0" 1087 + source = "git+https://git.awoo.ren/roufpup/fluxer-rs#72e6ffe1d786eabeddf47a9f04b66e2f2d30e155" 1088 + dependencies = [ 1089 + "heck", 1090 + "log", 1091 + "proc-macro2", 1092 + "quote", 1093 + "syn 2.0.117", 1071 1094 ] 1072 1095 1073 1096 [[package]] ··· 1959 1982 version = "0.1.2" 1960 1983 source = "registry+https://github.com/rust-lang/crates.io-index" 1961 1984 checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" 1962 - 1963 - [[package]] 1964 - name = "macros" 1965 - version = "0.1.0" 1966 - dependencies = [ 1967 - "heck", 1968 - "log", 1969 - "proc-macro2", 1970 - "quote", 1971 - "syn 2.0.117", 1972 - ] 1973 1985 1974 1986 [[package]] 1975 1987 name = "matchers"
+1 -1
Cargo.toml
··· 18 18 log = "0.4.29" 19 19 serde_json = "1.0.149" 20 20 serde_with = "3.16.1" 21 - macros = { path = "./macros" } 21 + fluxer-rs-macros = { git = "https://git.awoo.ren/roufpup/fluxer-rs", version = "0.1.0" } 22 22 thiserror = "2.0.18" 23 23 reqwest = "0.13.2" 24 24 emojis = "0.8.0"
+1 -1
examples/examplebot/Cargo.toml
··· 1 1 [package] 2 - name = "colorbot" 2 + name = "example-bot" 3 3 version = "0.1.0" 4 4 edition = "2024" 5 5
+1 -1
macros/Cargo.toml
··· 1 1 [package] 2 - name = "macros" 2 + name = "fluxer-rs-macros" 3 3 version = "0.1.0" 4 4 edition = "2024" 5 5
+1 -1
src/gateway/dispatch.rs
··· 1 - use macros::dispatch; 1 + use fluxer_rs_macros::dispatch; 2 2 3 3 dispatch!( 4 4 ["READY", ReadyData],
+2 -2
src/lib.rs
··· 6 6 pub mod serde; 7 7 pub mod util; 8 8 9 - pub use macros::command; 10 - pub use macros::register_commands; 9 + pub use fluxer_rs_macros::command; 10 + pub use fluxer_rs_macros::register_commands;