The San Francisco Giants have acquired starting pitcher Matt Moore from the Rays before the deadline buzzer, both teams announced on Monday. Rays in exchange would receiver third baseman Matt Duffy, minor leaguer Lucius Fox and minor-leaguer Michael Santos.

Moore is a 27-year-old lefty and will immediately join the Giants rotation. He's 7-7 this season with a 4.08 ERA, 1.27 WHIP and 109 strikeouts in 130 innings. Walks have long been an issue for Moore, but he's only offering up 2.8 per every nine innings this season compared to a career mark of 4.1 heading into the season. He also comes to San Francisco on a hot streak, having posted a 1.99 ERA in his last six starts (the Rays have gone 4-2 in those six games, too).

Matt Moore will join the Giants' rotation. USATSI

So Moore slots behind aces Madison Bumgarner and Johnny Cueto along with Jeff Samardzija as the 3-4 guys in the S.F. rotation. Either Jake Peavy or Matt Cain will be bumped. Both are having pretty terrible years overall, but Cain is coming off five no-hit innings. Maybe that tips the scales.

Duffy is a somewhat big name, after finishing second to Kris Bryant in NL Rookie of the Year voting last season. He's suffering from an Achilles injury right now and is hitting .253/.313/.358 on the season. That's not very good at all and Eduardo Nunez was acquired earlier in the week, so he'll presumably continue to hold down third base.

Fox is only 19 years old. He's a switch-hitting shortstop carrying a .207/.305/.277 line with 256 steals in Class A right now. So he's a long-term prospect for the Rays now.

Santos also joins the package to the Rays. He's a 21-year-old right-handed pitcher. In 10 Class A starts, he's 4-2 with a 2.91 ERA, 1.13 WHIP and 44 strikeouts against only five walks in 58 2/3 innings.